on github project Address: https://github.com/comonly/javaweb_blog/tree/master/blog_diverse_frontend
Specific implementation structures and processes: http://comonly.cn/p/1129.html
Project Description
1. project through: vue init webpack project-name automatically constructed.
2. axios asynchronous data request.
3. Style Use ElementUI.
Implementation process
- Use to build vue vue-cli project - to create a vue project by npm: http://comonly.cn/p/1030.html
- src directory main.js file configuration tools need to use.
- At the same time you want to add the required modules in package.json file.
- Then create components in src / components directory.
- Then add routes in src / router directory.