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 dev
To 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
.dmg
file, a.exe
for Windows, etc. These executables are located in therelease
folder.