-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
Electron Apps With Vite #12288
Comments
As the document says
IMO it's not likely to add an Electron template without an official plugin support. |
Yes, for now Electron support in Vite is community-based only, but we're happy to support it in |
Hello @akt-01. We like your proposal/feedback and would appreciate a contribution via a Pull Request by you or another community member. We thank you in advance for your contribution and are looking forward to reviewing it! |
Ummm.. I am still learning stuff so its kind of not possible for me to contirbute cause i have used vite only watching yt tutorials maybe me or somebody in future could help. |
@bluwy Hey! 👋 I have good news for you, Electron is officially working with electron-vite, Electron's official scaffolding Forge will support Vite in the next version electron-vite will continue to work on the integration of Electron with Vite :) |
This seems like a really good idea, maybe I'll submit a PR for it. cc @fi3ework |
Nice! Didn't know that it would be supported in Forge soon. Happy to have create-vite re-route to the CLI. I think ideally having it point to a Vite template by default would be great. |
Is this still available? I'd love to take a shot at this 🙂 |
Coming soon. |
Sorry if I caused some misunderstanding, I meant that I would like to contribute |
Thanks, but for now we still need to make some changes in |
Description
Please include functinallity in vite , so that when creating new project after entering name of project are prompted to ask frame work, electron appears there and after choosing electron which framework we need touse appears like... react, vue, angular vanila etc. after that option comes where we want to use typescript or javascript etc.
Suggested solution
npm create vite@latest
Project Name >> New Electron App
Select Framework >> Electron
Select Web Framework >> React, Vue etc.
Select a variant >> Javacript, Typescript etc.
Select styling >> CSS, SASS, SCSS etc.
Done. Now run:
cd "electron app"
npm install
npm run dev
Alternative
there's template at github which does this
Vite+Electron+React+SASS (Github)
Additional context
No response
Validations
The text was updated successfully, but these errors were encountered: