Why does the above introduction method always report errors? What is the reason? If you introduce it in style, no errors will be reported.
某草草2017-06-26 10:58:07
The path should be a relative path, such as: @import "../assets/font/iconfont.css"
. If you write this way, you will go to the assets package in node_modules to find the css