VUE 环境搭建记录

348 阅读1分钟
1、切换镜像:npm config set registry https://registry.npm.taobao.org
2、sudo npm uninstall -g vue-cli
3、sudo npm install -g @vue/cli
4、创建项目:vue create demo
5、node.js直接下载的安装包