electron / forge

:electron: A complete tool for building and publishing Electron applications
https://electronforge.io
MIT License
6.41k stars 505 forks source link

Suggestions for Adding Frontend Framework Integration to the Electron Forge + Vite Template #3654

Open narukeu opened 1 month ago

narukeu commented 1 month ago

Pre-flight checklist

Problem description

The current electron-forge + Vite template only includes Vite and does not offer options to integrate frontend frameworks. Additionally, the configurations differ from those created directly with Vite. Modern frontend development relies on frameworks like React, which presents some inconvenience for developers.

Proposed solution

Adding interactive options during project creation to allow users to choose whether to integrate a frontend framework.

Alternatives considered

Updating the documentation to include instructions on integrating the template with popular frontend frameworks.

Additional information

No response

zhoujian-official commented 1 month ago

Same here.

Current document has Vite+Vue and Webpack+React. But lots of people want Vite+React/Vite+React+TS. Really need it as a best-practice reference.