How to introduce css style in vue.js: 1. Directly introduce the corresponding path under [] in [app.vue]; 2. Change [@import] to [<style src="">】Introduces external styles. This method is suitable for all brands of computers [Related article recommendations :vue.js】 How to introduce css style into vue.js: 1. In app.vue Directly introduce the corresponding path under Use @import to introduce external css. The scope is global. It can also be introduced in the corresponding single vue component. import Instead of introducing code into , it initiates a new request to obtain style resources without adding scope. @import "../static/font/iconfont.css"; Copy after loginNote: If there is a style, it should be imported above #app, otherwise the introduction will not be successful! 2. Change @import to Introducing external styles Related learning recommendations: javascript learning tutorial