Taught you how to build a vue-cli project

  Taught you how to build a vue-cli project

      -g is a global installation, you do not need to use installed

1. Install node.js (npm), because npm package management tools will be used to download project dependencies, etc.
2. Install webpack: npm install webpack -g
3. Installation vue-cli: npm install vue-cli -g
4. By vue-cli, initialization vue project: vue init webpack vueTest (item name)
5. Go to your project directory: cd vueTest (project name)
6. Install the project dependencies: npm install
7. Start the project: npm run dev

View node version of the command node -version

 

View other versions similar methods

 

Guess you like

Origin www.cnblogs.com/luokx/p/11489452.html