English | ็ฎไฝไธญๆ
๐ฆ Ready out of the box
๐ฏ Based on the official template-react-ts, project structure will be familiar to you
๐ฑ Easily extendable and customizable
๐ช Supports Node.js API in the renderer process
๐ฉ Supports C/C++ native addons
๐ Debugger configuration included
๐ฅ Easy to implement multiple windows
# clone the project
git clone https://github.com/electron-vite/electron-vite-react.git
# enter the project directory
cd electron-vite-react
# install dependency
npm install
# develop
npm run dev
Familiar React application structure, just with electron
folder on the top ๐
Files in this folder will be separated from your React application and built into dist-electron
โโโ electron Electron-related code
โ โโโ main Main-process source code
โ โโโ preload Preload-scripts source code
โ
โโโ release Generated after production build, contains executables
โ โโโ {version}
โ โโโ {os}-{os_arch} Contains unpacked application executable
โ โโโ {app_name}_{version}.{ext} Installer for the application
โ
โโโ public Static assets
โโโ src Renderer source code, your React application
- electron-updater ๐ see docs
- playwright