-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(create-vite): support create-electron-vite #12390
Conversation
Run & review this pull request in StackBlitz Codeflow. |
When running locally, it looks like Vite would create the new project folder, then call
I think |
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome! Works great
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Linking to create-electron-vite opens the door to many other projects, and some of them have already asked for this and we have so far pushed to keep create-vite minimal and re-directed them to create-vite-extra. deno is a good example, and nx asked us a few weeks ago. I think we should also link to Astro, Solid Start, Qwik City, Marko Run, and Tauri among others.
I think we should merge this PR only if we are planning to merge create-vite-extra and create-vite into a single project, to give create-vite a more general status. I'm approving this PR assuming that is the case.
Interested to hear your current thoughts on this @bluwy
I'm not sure if this PR gives the idea that we need to merge |
That's fair. A merge isn't needed and it is true that keeping create-vite-extra could be a good playground not only for adding new projects but also for adding new features (like adding an optional testing setup for example?). And I realize I was probably thinking about create-vite-extra with a smaller scope than you all this time. I still think this PR expands create-vite scope (that is good, I agree with the expansion), and that if we go here, we should then add links to nx, astro, tauri, etc. And we should also decide how a project is accepted. That I'm fine keeping the rule loose and use common sense and proximity between the project and Vite core. |
Sounds good 👍 I think we can let the ecosystem add links to their CLI if they want though, but certainly nx, Astro, etc should be good to add too. Also make sense to keep the rule a bit loose for now. |
Description
Additional context
fixes #12288
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).