vue-cli installation, webpack + vue Building projects

The concept: Vue-cli vue scaffolding is to quickly build a single-page official application produced

Due to the use of webpack build more projects, so this project is to build a webpack

First, let's install directory read:

The next message will appear after the installation is complete

According to the steps

There will be node-modules package after the installation is complete, all downloaded packages are in this folder

 

Then you can start the project by npm run dev

When the project started, the following interface

 

Enter in your browser localhost: 8080 to test whether a successful start; see the following screen, indicating success

 

Guess you like

Origin www.cnblogs.com/sunyang-001/p/11102682.html