Windows installation and build vue-cli

  1. Install node.js

     https://nodejs.org/zh-cn/

    2. Install cnpm

npm install -g cnpm 

    3. Install scaffolding vue-cli

cnpm install -g vue-cli

    4. cd into the project, xxxx is the name of the vue project

vue init webpack xxxx

   5. Run the project

cd xxxx
npm run dev

6. Browser open preview

localhost:8080

 

Guess you like

Origin blog.csdn.net/weixin_43101671/article/details/111661095