HTML5 because its MIME type ('text/html') is not a supported stylesheet MIME type, and str

我这里出现这个问题是 引入 的文件路径错误。

原来的文件路径是:

<link rel="stylesheet" href="../css/layui.css"  media="all">

然后一直无法加载。出现了这个情况。然后修改为:

<link rel="stylesheet" href="css/layui.css"  media="all">

跟上面相比,少了    ../    然后运行就正常了

上一篇:java.io.FileNotFoundException: class path resource cannot be opened because it does not exist.


下一篇:Job for network.service failed because the control process exited with error code问题