先去nodejs.org
下载nodejs。
然后在终端上输入npm install -g @vue/cli
进行安装npm,
由于插件一般都在国外,建议安装cnpm淘宝源,sudo npm install cnpm -g –registry=https://registry.npm.taobao.org
先去nodejs.org
下载nodejs。
然后在终端上输入npm install -g @vue/cli
进行安装npm,
由于插件一般都在国外,建议安装cnpm淘宝源,sudo npm install cnpm -g –registry=https://registry.npm.taobao.org
本文标题:安装vue-cli
本文链接:https://www.haomeiwen.com/subject/ajocohtx.html
网友评论