Just finished setting up a new project with the angular cli.
Encountering an issue when trying to link the styles.css file in index.html
<link rel="stylesheet" type="text/css" href="styles.css">
Getting the following error in Chrome's dev tools network tab:
Refused to apply style from 'http://localhost:4200/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Any solutions to resolve this? Project is being run locally using ng serve
https://i.sstatic.net/jSbls.png
Tried including:
./styles.css
/styles.css
styles.css