|
|
il y a 4 ans | |
|---|---|---|
| .github | il y a 5 ans | |
| app | il y a 4 ans | |
| asset | il y a 4 ans | |
| build | il y a 4 ans | |
| config | il y a 4 ans | |
| electron | il y a 4 ans | |
| frontend | il y a 4 ans | |
| tools | il y a 4 ans | |
| .gitignore | il y a 4 ans | |
| .travis.yml | il y a 4 ans | |
| LICENSE | il y a 5 ans | |
| README.md | il y a 4 ans | |
| app.js | il y a 4 ans | |
| appveyor.yml | il y a 4 ans | |
| main.js | il y a 4 ans | |
| package.json | il y a 4 ans | |
| preload.js | il y a 5 ans | |
| renderer.js | il y a 5 ans | |
| update.md | il y a 4 ans |
一个简单、快速、功能丰富的跨平台桌面软件开发框架。
下载
# gitee
git clone https://gitee.com/wallace5303/electron-egg.git
# github
git clone https://github.com/wallace5303/electron-egg.git
安装
# 提升安装速度,使用国内镜像;注:勿使用cnpm命令,可能出现安装不完整
npm config set registry https://registry.npm.taobao.org
# 进入目录 ./electron-egg/
npm install
常用命令
# 开发者模式
# 1:【进入前端目录】,启动vue
cd frontend && npm install && npm run serve
# 2:【根目录】,启动后端服务
cd ../ && npm run dev
# 生产者模式
npm run start
# 打包-windows版本
npm run build-w (32位)
npm run build-w-64 (64位)
# 打包-mac版本
npm run build-m
npm run build-m-arm64 (苹果M1芯片架构)
# 打包-linux版本
npm run build-l
# web运行-开发模式
npm run web-dev
# web运行-生产者模式-启动
npm run web-start
# web运行-生产者模式-停止
npm run web-stop
请前往GitHub项目提pr(避免代码同步后,pr被覆盖掉),感谢!
地址:https://github.com/wallace5303/electron-egg