Vue self-cultivation
1. Create a project (UI interface)
1.1 download the node. Js
1.2 Downloading CNPM (if necessary)
NPM install - g CNPM - registry=https://registry.npm.taobao.org check related software install 1. View node node -v 2. View vue vue -v (v must be capitalized) 3. Check CNPM CNPM -v 4. If bash: vue Command Not found is displayed after the vUE or CNPM is successfully installed, check the configuration of environment variablesCopy the code
1.3 Install the latest Vue CLI scaffolding tool
CNPM i-g@vue /cli If the CNPM is not installed, use NPM i-g@vue /cli. 1. After the installation is successful, check the version of the scaffold. Vu-v version in 3.0 or above can use the UI interface to create projectsCopy the code