The following is a basic summary of my problems and solutions encountered in vue cli used in development projects. Lacks a lot of technical stuff, you see a Lehe on the line ~
Meaning 1.vue-cli project created each folder
Note: The project vue-cli 4 created static folder not found. The following pages becomes src views.
More details can be viewed: VUE-cli scaffolding directory list
2. References css way
2.1 js introduced Method
Import './assets/css/global.css' / * introducing common style * /
Public main.js style generally written in the following chart:
2.2 introduction method in the assembly
<style> @import '../assets/css/main.css'; </style>