feat(cli): add create-tauri-app - #1106
Conversation
|
@nklayman Though it's still a little rough and hardcoded, can you tell me whether this is the right way to do it? |
|
How I have thought of doing this is to have a folder |
|
Wouldn't that bloat the codebase? what do you think about having a separate github repo for each recipe? |
|
I'm super late but I think the recipes should all be in the same repo. There isn't much code here anyways, and we don't want to have our repo list full of |
There was a problem hiding this comment.
Thanks for putting this together. We did want to shift over the tauri create command to this as well, but I think I can handle that. We will have a bit of overlap between the things, but I think we can pretty cleanly merge them. I will get that setup and pushed to a feature branch, and then I can get this merged into that (so leaving this open / untouched for the moment).
|
This did diverge a bit from the I am imagining two main logical paths, and one of those splits into two as well. The first split would either be a shell command such as running |
|
I think both need to be supported because there isn't a cli for vanilla js apps, but you can't use a template for vue-cli. Some frameworks require a template and some a cli command. |
|
Ok, so it sounds like we can use the "shell out" approach for vue then? |
|
Yeah, just running |
|
I rebased this onto the feature branch. I undid a bit of a wiring with the expectation to merge the code paths and wire it all back up in a follow up PR. Thanks again @sanket143 ! |
What kind of change does this PR introduce? (check at least one)
Does this PR introduce a breaking change? (check one)
The PR fulfills these requirements:
fix: #xxx[,#xxx], where "xxx" is the issue number)If adding a new feature, the PR's description includes:
Other information:
Discussions:
Comments with
--NOTES--header is just for references. All comments with--NOTES--will get cleared once it is ready.