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.