1: Open the CMD command line and install Node first
Steps: nodejs.org/en/download… From the official website of Node, download the version that matches your computer and install it step by step. Enter Node -v. If the version information is displayed, the installation is successful.
2: NPM package manager is integrated in Node, so input directlynpm -vYou can view the version information
3: Enter NPM install -g CNPM — registrar =registry.npm.taobao.org to install dependencies related to Taobao image installation
4: Install vue-CLI scaffolding construction tool, enter the command NPM install -g vue-cli, the installation is complete.
5: Select a path and create a VUE project
6: Create a new project under the previous directory, commandVue init Webpack + Project name
7: After the previous step, the new project will start, asking about the configuration of the project. Press Enter by default yes
8: Go to the project folder
9: Run the project, instructionnpm run dev, run the url