- Install node.js
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