vue environment installation
nodejs need to configure the environment variables
Scaffolding installation tool
Taobao mirroring needs to be configured npm install --global vue-cli / cnpm install --global vue-cli // command mounting CNPM
Create a project
The position must first create a CD to the appropriate directory
cli2.X created: vue init webpack project-name running: npm run dev
cli3.x vue create webpack project-name npm run serve
2.X and 3.X is essentially no difference, it can run, but run a little faster speed 3.X
When you create a project and configured the environment, if you import other projects, needs to be initialized after initialization before running: npm install / cnpm install