【because its MIME type (‘text/html‘) is not a supported 报错原因与解决】

because its MIME type (‘text/html’) is not a supported stylesheet MIME type, and strict MIME checking is enabled 报错原因与解决

报错原因是没有正确加载CSS文件

事情是这样的,笔者将一些CSS文件移动到LIB文件夹中,由于没有正确的引用而出现的错误
如下图1
在这里插入图片描述
如下图2
在这里插入图片描述

解决方法:正确加载CSS文件

在这里插入图片描述

问题解决

猜你喜欢

转载自blog.csdn.net/weixin_43727933/article/details/128187180