1. First, the system must Node Environment (preferably to install a git, gitbash than cmd be easy to use), but also NPM;
You can view the command node, npm version number:
node -v或者npm -v
2. Global installation vue-cli (--version can see versions of the same vue vue)
npm install -g vue-cli
3. Use vue-cli project initialization
vue init webpack sell (sell是文件名,可以自己取)
4. Go to the directory
cd sell
5. Installation depends (this part is very important, with npm install will be relatively slow and requires patience to wait for some time; the Internet can also say with cnmp)
npm install
6. After completion of the installation dependent on the run program (there are two ways: the code can be used directly open; directly in the address bar localhost: 8080)
npm run dev