reactjs - Refused to apply style from css because its mime type ('text/html') is not supported

Viewed 11405

I get the below error for my reactjs project. I have shown my folder structure.

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

enter image description here

1 Answers

you can import that file in "index.js" instead of directly adding it to "index.html", it will work for me.Alternative of this problem

Related