1)安装yarn npm install -g yarn
2)安装electron
安装cnpm,在安装electron

npm install -g cnpm
cnpm i -g electron
npm install -g electron-builder
npm install -g npm
npm i -g @types/node


切换源

npm config set registry https://registry.npm.taobao.org
npm config set disturl https://npm.taobao.org/dist
卸载命令:
npm uninstall vue-cli -g
npm install -g @vue/cli

3)

标签: none

添加新评论