1.npm install -g vue-cli (with only one installation)
2.vue init webpack
3. Fill out the information related to the switching operation of the project
Precautions:
1. Before you set up the need to ensure there is nodejs and npm, and generally use a higher version npm (Scaffolding requirements have npm version, older version may be error)
Npm updated version: npm install -g npm
2. If prompted 'vue' is not an internal or external command
npm config list
Find the path prefix corresponding (If you have configured will display the path, the path is not configured title appears undefined field), added to the environment variable path to go