Skip to content
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

Feature Request: vite+react+typescript template #3791

Open
3 tasks done
arbrsts opened this issue Dec 24, 2024 · 0 comments
Open
3 tasks done

Feature Request: vite+react+typescript template #3791

arbrsts opened this issue Dec 24, 2024 · 0 comments

Comments

@arbrsts
Copy link

arbrsts commented Dec 24, 2024

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Problem description

Since there's already a vite-typescript template, would like to contribute a vite+react template as an additional option.

I initially used electron-vite but would prefer a more official solution with electron-forge.

Can start implementing once I get a thumbs up!

Proposed solution

Key points

  • Vite + React + TS setup
  • @vitejs/plugin-react-swc for fast refresh

Alternatives considered

As an alternative, adding React manually took me about 10 minutes of research and 5 minutes implementing, but was still a cumbersome process.

In terms of the vite plugin for React, the base @vitejs/plugin-react is an alternative but has much slower performance than @vitejs/plugin-react-swc.

Additional information

No response

@arbrsts arbrsts changed the title vite+react+typescript template Feature Request: vite+react+typescript template Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant