Replies: 1 comment
-
Figured it out, incase you have a code block with what I used
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
ERROR: Refused to apply style from 'http://localhost:3000/main.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
CSS style doesn't apply to static server and I have done everything humanely and technically possible still yet, CSS style doesn't reflect.
I got rid of the error at some point but the CSS style didn't still reflect.
Please help!
<link rel="stylesheet" href="/css/main.css" type="text/css"/>
<link rel="stylesheet" href="main.css">
<link href="main.css" type="text/css"/>
<link href="/public/css/main.css" type="text/css"/>
In my
index.html
I have used those linking codes.I have also used the
/public/
type but it still didn't budge.Please help!
Beta Was this translation helpful? Give feedback.
All reactions