You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# Electron-Vue-template
|
|
|
|
|
|
|
|
|
|
## 介绍
|
|
|
|
|
|
|
|
|
|
### 这是什么?
|
|
|
|
|
|
|
|
|
|
- 这是一个基于 webpack5 和 vue2/3 的 electron 快速上手框架,你不需要关注它们是怎么联动的,你只需要关注你当前的界面组合就好
|
|
|
|
|
剩下的交给我就好
|
|
|
|
|
- 上手极快,几乎没有任何心智负担对于前端而言,特别是当你熟悉 vue 和 js 时,就好像回家了一样
|
|
|
|
|
|
|
|
|
|
### 有什么功能?
|
|
|
|
|
1. 文件下载
|
|
|
|
|
2. 全量更新
|
|
|
|
|
|
|
|
|
|
> ### **请确保您的 node 环境是大于或等于 16**
|
|
|
|
|
|
|
|
|
|
#### 如何安装
|
|
|
|
|
|
|
|
|
|
```bash
|
|
|
|
|
npm config edit
|
|
|
|
|
# 该命令会打开npm的配置文件,请在空白处添加,此操作是配置淘宝镜像。
|
|
|
|
|
# registry=https://registry.npmmirror.com
|
|
|
|
|
# electron_mirror=https://cdn.npmmirror.com/binaries/electron/
|
|
|
|
|
# electron_builder_binaries_mirror=https://npmmirror.com/mirrors/electron-builder-binaries/
|
|
|
|
|
# 然后关闭该窗口,重启命令行.
|
|
|
|
|
# 使用yarn安装
|
|
|
|
|
yarn or yarn install
|
|
|
|
|
|
|
|
|
|
# 启动之后,会在9080端口监听
|
|
|
|
|
yarn dev
|
|
|
|
|
|
|
|
|
|
# build命令在不同系统环境中,需要的的不一样,需要自己根据自身环境进行配置
|
|
|
|
|
yarn build
|
|
|
|
|
|
|
|
|
|
```
|
|
|
|
|
# [更新日志](CHANGELOG.md)
|