node.js environment
view version
node -v
npm -v
Download vue-cli scaffolding via npm
The default source address is foreign, configure the domestic source address: (Taobao mirror source)
npm config set registry http://registry.npm.taobao.org/
View the source address of the configuration after the change:
npm config get registry
Install vue-cli:
npm install -g @vue/cli
Check the installation:
vue --version
Create a project using vue-cli
vue create 项目名