38 lines
1.4 KiB
Markdown
38 lines
1.4 KiB
Markdown
# Electron-Vite-template
|
||
|
||

|
||
[](https://github.com/vuejs/vue-next)
|
||
[](https://github.com/vitejs/vite)
|
||
[](https://www.npmjs.org/package/element-plus)
|
||
[](https://github.com/electron/electron)
|
||
[](https://github.com/umbrella22/electron-vite-template/blob/master/LICENSE)
|
||
|
||
[国内访问地址](https://gitee.com/Zh-Sky/electron-vite-template)
|
||
|
||
---
|
||
### 请确保您的 node 版本大于等于 16.
|
||
|
||
#### 如何安装
|
||
|
||
```bash
|
||
npm config edit
|
||
# 该命令会打开npm的配置文件,请在空白处添加
|
||
# registry=https://registry.npmmirror.com
|
||
# ELECTRON_MIRROR=https://npmmirror.com/mirrors/electron/
|
||
# ELECTRON_BUILDER_BINARIES_MIRROR=https://npmmirror.com/mirrors/electron-builder-binaries/
|
||
# 然后关闭该窗口,重启命令行.
|
||
# 使用yarn安装
|
||
npm install
|
||
|
||
# 启动之后,会在9080端口监听
|
||
npm run dev
|
||
|
||
# build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置
|
||
npm run build
|
||
|
||
```
|
||
|
||
---
|
||
# [文件目录说明](DIR.md)
|
||
# [更新日志](./CHANGELOG.md)
|