2021-11-09 09:40:34 +08:00
|
|
|
# electron-vite-template
|
2021-11-06 22:27:23 +08:00
|
|
|
|
2021-11-09 10:24:09 +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
|
2021-11-09 10:24:09 +08:00
|
|
|
git clone git@github.com:caoxiemeihao/electron-vite-template.git
|
2021-11-06 22:27:23 +08:00
|
|
|
|
|
|
|
# enter the project directory
|
2021-11-09 10:24:09 +08:00
|
|
|
cd electron-vite-template
|
2021-11-06 22:27:23 +08:00
|
|
|
|
|
|
|
# install dependency(Recommend use yarn)
|
|
|
|
yarn
|
|
|
|
|
|
|
|
# develop
|
|
|
|
yarn dev
|
|
|
|
```
|
|
|
|
|
2021-11-10 16:05:02 +08:00
|
|
|
## Branchs
|
|
|
|
|
|
|
|
- `main` - **[Electron + Vite + React](https://github.com/caoxiemeihao/electron-vite-template/tree/main)**
|
|
|
|
|
|
|
|
- `vue-ts` - **[Electron + Vite + Vue3](https://github.com/caoxiemeihao/electron-vite-template/tree/vue-ts)**
|
|
|
|
|
2021-11-08 21:23:40 +08:00
|
|
|
## Demo
|
|
|
|
|
2021-11-09 10:54:41 +08:00
|
|
|
<img width="400px" src="https://raw.githubusercontent.com/caoxiemeihao/blog/main/electron-vite-template/react-win.png" />
|
2021-11-08 21:23:40 +08:00
|
|
|
|
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>
|