-
Notifications
You must be signed in to change notification settings - Fork 141
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] Docs when getting started with TypeScript #706
Comments
Hi, I would like to work on this issue. Could you please assign it to me? @htnabe |
@Shashikumar-ezhilarasu I am not one of the main mainteners, so I can't assign you. |
Before we do that, we have to make it clear whether this topic is enough meaningful to the users of electron. |
Hi @htnabe , Thank you for considering this! I believe that including instructions for getting started with TypeScript in Electron would be highly valuable for users. Rationale: TypeScript has become a popular choice for many developers as it adds type safety and better tooling to JavaScript. Providing beginners with clear documentation on integrating TypeScript will help lower the entry barrier for those wanting to use it with Electron. Setting up Electron with TypeScript: A step-by-step guide for creating a basic TypeScript environment. If the maintainers agree that this is a meaningful addition, I'd be happy to start working on it. Let me know your thoughts!! |
An easy way to get started with Electron and TypeScript is to use Electron Forge with a TypeScript template. Since you mentioned Vite, here's the Vite template: https://www.electronforge.io/templates/vite-+-typescript |
@nikwen Thanks for the advice!
On the other hand, I still think it's important to introduce some stable ones like electron-vite, nextron. |
@htnabe Check this for why the change was made: https://github.com/electron/forge/releases/tag/v7.5.0 I think it's totally fine to use the Vite plugin in Electron Forge despite the label that sounds scary. |
I have recently started using Electron and thought it would be nice if the tutorial included instructions on how to get started using TypeScript.
Proposed Solution
I think there is a way to write about how to get started in TS in a steady way.
However, to start small, I think it would be very meaningful for beginners just to introduce electron-vite, nextron, etc. and let them know that they can build a TS environment from scratch there.
Sorry if I have simply missed something.
The text was updated successfully, but these errors were encountered: