2021-11-09 09:40:34 +08:00
|
|
|
# electron-vite-template
|
2021-11-06 22:27:23 +08:00
|
|
|
|
|
|
|

|
2021-11-07 18:10:55 +08:00
|
|
|

|
2021-11-06 22:27:23 +08:00
|
|
|

|
2021-11-07 18:10:55 +08:00
|
|
|
[](https://nodejs.org/about/releases)
|
2021-11-06 22:27:23 +08:00
|
|
|
|
|
|
|
## Run Setup
|
|
|
|
|
|
|
|
```bash
|
|
|
|
# clone the project
|
|
|
|
git clone git@github.com:caoxiemeihao/electron-react-vite.git
|
|
|
|
|
|
|
|
# enter the project directory
|
|
|
|
cd electron-react-vite
|
|
|
|
|
|
|
|
# install dependency(Recommend use yarn)
|
|
|
|
yarn
|
|
|
|
|
|
|
|
# develop
|
|
|
|
yarn dev
|
|
|
|
```
|
|
|
|
|
2021-11-08 21:23:40 +08:00
|
|
|
## Demo
|
|
|
|
|
|
|
|
<img width="400px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/electron-react-vite/main-win.png" />
|
|
|
|
|
2021-11-09 09:40:34 +08:00
|
|
|
## Wechat group || 请我喝杯下午茶 🥳
|
|
|
|
|
2021-11-06 22:36:49 +08:00
|
|
|
<div style="display:flex;">
|
|
|
|
<img width="244px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/assets/wechat/group/qrcode.jpg" />
|
|
|
|
|
|
|
|
<img width="244px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/assets/wechat/%24qrcode/%2419.99.png" />
|
|
|
|
</div>
|
2021-11-08 18:16:33 +08:00
|
|
|
|
|
|
|
## Reference links
|
|
|
|
- [vite-electron-builder](https://github.com/cawa-93/vite-electron-builder)
|
|
|
|
- [Vite](https://vitejs.dev)
|
|
|
|
- [Rollup](https://rollupjs.org)
|