1.ELECTRON安装太慢,需要提前设置镜像1.npm镜像npmconfigsetregistryhttps://registry.npm.taobao.org/2.ELECTRON_MIRRORmirrornpmconfigsetELECTRON_MIRRORhttp://npm.taobao.org/mirrors...2.安装electron-builder1.vue添加electron-builder3.运行electron1.npmrunelectron:serve2.npmrunelectron:build
