Refused to apply style from '' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled

前端 未结 4 1062
遇见更好的自我
遇见更好的自我 2020-12-11 16:05

I have a Vue.js project, when I check the console found this issue bellow:

Refused to apply style from \'http://localhost:8080/dist/cropper.min.css\'

4条回答
  •  既然无缘
    2020-12-11 16:41

    I got exact same problem " Refused to apply style from 'http://localhost:8080/css/formatting.css' because its MIME type ('application/json') is not a supported stylesheet MIME type ..."

    I browse through the window explorer and corrected the file paths (folders) as i intended to. There was also spelling error in the addressing like the path was as above (formatting.css or double 't') but the file actually was formating.css (single 't') and the problem solved. Some solutions are not expensive at all. Thanks.

提交回复
热议问题