标签:https tar vue creat cal str org guid npm
完成npm的安装后,再安装cnpm
切换源为 taobao 源
npm set registry https://registry.npm.taobao.org/
安装cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
vue-cli
https://cli.vuejs.org/zh/guide/installation.html
cnpm install -g @vue/cli
vue create hello-world
进入cli目录里启动服务
cd cli
npm run serve
浏览器里打开页面看看效果:
http://localhost:8080/
https://router.vuejs.org/zh/installation.html
标签:https tar vue creat cal str org guid npm
原文地址:https://www.cnblogs.com/haima/p/11235640.html