Refused to apply style from ‘http://localhost:8080/iconfont.css’ because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled.
遇到这种报错,找了个半天,也没发现个问题。结果忽略了CSS里面的,CSS里面有个import引入,删除就OK了
把@import “./iconfont.css”;划掉就好了;