An Electron + React starter template.
This template provides a minimal setup to get Electron + React working, powered by Vite.
- 馃敟 Hot restart and reload
- 馃摝 Packaging for Windows, macOS and Linux
- 馃摑 TypeScript support
- 馃敡 Based on the Electron + Vite templates
- 馃摎 Electron Builder for packaging
- Clone the repository and install the dependencies:
git clone https://github.com/llapenna/electron-react-starter.git- Install dependencies:
cd electron-react-starter
npm install- Run the app:
npm run devTo package the app for Windows, macOS and Linux:
npm run package馃挕 The resulting executables will depend on the OS you build them on. For example, if you build on macOS, you'll get a
.dmgfile, a.exefor Windows, etc. These executables are located in thereleasefolder.