Electron + Vite + React template.
- Ready out of the box
- Based on vite-plugin-electron and the official template-react
- Supports Node.js API in the renderer process
- Supports React devTools
git clone https://github.com/justid/Electron-Vite-React-JS.git
cd Electron-Vite-React-JS
yarn install
yarn dev
yarn build
├── electron Electron-related code
│ ├── main Main-process source code
│ ├── preload Preload-scripts source code
│ └── electron-builder.json5 Build config file
│
├── release Generated after production build, contains executables
│ └── {version}
│ └── {os}-unpacked Contains unpacked application executable
│
├── public Static assets
└── src Renderer source code, your React application