Download and install npm
Download and install cnpm
After completion of the installation npm, install cnpm
Source is switched source taobao
npm set registry https://registry.npm.taobao.org/
Installation cnpm
npm install -g cnpm --registry=https://registry.npm.taobao.org
installationvue-cli
https://cli.vuejs.org/zh/guide/installation.html
cnpm install -g @vue/cli
Create a project
vue create hello-world
Start entering the cli directory service
cd cli
npm run serve
The browser opens the page to see the effect:
http://localhost:8080/