vue-cli4 + electron
1.通过vue-cli4创建vue 项目2.vue项目下,命令行安装vue add electron-builder3.运行:npm: cnpm run electron:buildcnpm: cnpm run electron:buildyarn: yarnelectron:build
·
1.通过vue-cli4创建vue 项目
2.vue项目下,命令行安装vue add electron-builder
3.运行:
npm: npm run electron:serve
cnpm: cnpm run electron:serve
yarn: yarn electron:serve
4.打包:
npm: cnpm run electron:build
cnpm: cnpm run electron:build
yarn: yarn electron:build
更多推荐
已为社区贡献1条内容
所有评论(0)