@quick-start/create-electron
create-electron
An easy way to start an Electron project
Usage
Compatibility Note: Some templates require a higher Node.js version to work, please upgrade if your package manager warns about it.
With npm:
$ npm create @quick-start/electron
With Yarn:
$ yarn create @quick-start/electron
With pnpm:
$ pnpm create @quick-start/electron
Then follow the prompts!
You can also directly specify the project name and the template you want to use via additional command line options. For example, to scaffold an Electron + Vue project, run:
# npm 6.x
npm create @quick-start/electron my-app --template vue
# npm 7+, extra double-dash is needed:
npm create @quick-start/electron my-app -- --template vue
# yarn
yarn create @quick-start/electron my-app --template vue
# pnpm
pnpm create @quick-start/electron my-app --template vue
Currently supported template presets include:
| JavaScript | TypeScript |
|---|---|
| vanilla | vanilla-ts |
| vue | vue-ts |
| react | react-ts |
| svelte | svelte-ts |
| solid | solid-ts |
Features
- Use
ESLint + Prettierto better lint and style your code, help you to write high-quality code. - Use electron-vite, a fast build tooling integrated with Vite 3, support for
HMR,hot reloading,debuggingandsource code protection. - Use electron-toolkit to help you develop. For example: TSconfig extends, easily expose Electron APIs to renderers in preload scripts, etc.
- Use electron-builder and pre-configured to pack your app.
- Use electron-updater for auto-update, based on electron-builder.
Related Packages
Seamlessly integrate svelte with vue, react with vite, react with cra and next.j...
The Electron template of the lakutata projects with Vue: the main process is a l...
Command-line interface for the JS Template Engine: render data-defined component...
Version History
| Version | Released | License |
|---|---|---|
| 1.0.31 | MIT | |
| 1.0.30 | MIT | |
| 1.0.29 | MIT | |
| 1.0.28 | MIT | |
| 1.0.27 | MIT | |
| 1.0.26 | MIT | |
| 1.0.25 | MIT | |
| 1.0.24 | MIT | |
| 1.0.23 | MIT | |
| 1.0.22 | MIT | |
| 1.0.21 | MIT | |
| 1.0.20 | MIT | |
| 1.0.19 | MIT | |
| 1.0.18 | MIT | |
| 1.0.17 | MIT | |
| 1.0.16 | MIT | |
| 1.0.15 | MIT | |
| 1.0.14 | MIT | |
| 1.0.13 | MIT | |
| 1.0.12 | MIT | |
| 1.0.11 | MIT | |
| 1.0.10 | MIT | |
| 1.0.9 | MIT | |
| 1.0.8 | MIT | |
| 1.0.7 | MIT | |
| 1.0.6 | MIT | |
| 1.0.5 | MIT | |
| 1.0.4 | MIT | |
| 1.0.3 | MIT | |
| 1.0.2 | MIT |
Showing the latest 30 of 32. See every release on npm