1. If you install node. js, use the command
NPM Install--g VUE-CLI
2. In the directory where you want to build the project
Vue Init webpack myproject (project directory name)
Enter as follows
In the middle will let the selection Eslint project code style check, in order to beauty and efficiency, can open up, vue-router use up, the red box of the two Tests, do not matter, the following is asked to use which to install the dependency package, the default NPM good; then enter, wait for download dependency If you are slow, you can use mirroring.
After the download is complete, you will see the following prompt:
Just follow the steps and go down.
Then enter localhost:8080 in the browser and you can enter the world of Vue.
That's not enough, it's a lot worse than a responsive app framework, so let's build a mobile project right now.
Build the Vue Mobile project from scratch