You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys,
I've installed the sass-chokidar as explained in readme file. All scss files are compiled in to one App.css file and then I import it in the html file with
The classes in the file is not beeing rendered in the browser and when I inspect it in the network inspector, I can se that it has a content-type of "text/html". Can anyone help me where to add a content-type to the App.css file?
Thanks
Kasper
The text was updated successfully, but these errors were encountered:
@cubanpete Try importing from index.jsx (as it described in docs) instead of adding it into index.html. It will also work with hot reloading of css this way.
Hi guys,
I've installed the sass-chokidar as explained in readme file. All scss files are compiled in to one App.css file and then I import it in the html file with
<link href="/src/App.css" rel="stylesheet" type="text/css">
The classes in the file is not beeing rendered in the browser and when I inspect it in the network inspector, I can se that it has a content-type of "text/html". Can anyone help me where to add a content-type to the App.css file?
Thanks
Kasper
The text was updated successfully, but these errors were encountered: