前端BUG(1)——拒绝应用样式
【出错代码提示】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.
【出错代码提示(中文)】拒绝应用“http://localhost:8080/iconfont.css”中的样式,因为它的MIME类型(“text/html”)是不受支持的样式表MIME类型,并且启用了严格的MIME检查。
【出错原因】
项目中引入了改样式,但并没有提供,造成了样式表的缺失
【注意事项】
及时找到出错的地方,根据路径补充改样式即可!