npm i # 必须npm 安装,不可以使用cnpm
# 如果启动不了,安装一下插件
yarn add vue-cli-plugin-electron-builder -D --tilde
npm run serve
npm run electron:serve
VUE_APP_publicPath='http://127.0.0.1:7001' // 部署API地址
VUE_APP_Electron=1 // 1是客户端 0 是插件
将打包好的文件放在一下目录中
根目录\e-api\e-api
启动白屏?请仔细按照第一、二步骤操作