An electron-vue project
npm config set registry https://registry.npm.taobao.org
npm config set metrics-registry https://registry.npm.taobao.org
#npm config set registry https://registry.npmjs.org
#npm config set metrics-registry https://registry.npmjs.org
# 检查是否安装成功
npm config list
npm config set ELECTRON_MIRROR https://npm.taobao.org/mirrors/electron/
npm install --global --production windows-build-tools --vs2015
# install dependencies
npm install
# serve with hot reload at localhost:9080
npm run dev
# build electron application for production
npm run rebuild
npm run build
# run unit & end-to-end tests
npm test
# lint all JS/Vue component files in `src/`
npm run lint
# 多平台构建
npm run electron:build -- --linux deb --win nsis