-
下载nodejs并安装
https://nodejs.org/en
查看node的版本 node -v
查看 npm版本 npm -v
-
修改npm的镜像(淘宝镜像)
npm config set registry https://registry.npmmirror.com
查看当前镜像网址 npm config get registry
-
安装vue cli 脚手架
npm install -g @vue/cli
如果出现报错 failed, reason: certificate has expired
可以运行 npm config set strict-ssl false
关闭SSL严格检查
-
运行
vue ui
进入图形化界面