Refused to apply style from * because its MIME type (‘text/html‘) is not a supported stylesheet 原因

The point where the error is displayed on the console is iconfont.css. After investigation, it is indeed an error in the introduction of a new style reset.css.

But I have changed the icon to stylesheet, there should be no error.

After I opened reset.css, I found that the top of my file referenced @import "./iconfont.css";

After deleting it, the problem is solved.

 

 

Guess you like

Origin blog.csdn.net/qq_56079640/article/details/129035302