https://github.com/ErmanoClaude/React-App This is my github repository no matter what I try I can’t get SCSS/CSS to load on the page I don’t know what to do anymore.
Not really sure here;
server.js
...
const html =`
<html>
<head>
***<link rel='stylesheet' href='./src/assets/scss/styles.css'>***
</head>
<body>
<div id='root'>
${ content }
</div>
<script src='client_bundle.js'></script>
</body>
</html>
})
I’m still playing with learning react, and I’ve been calling .css files in my index.html file. You’ll need to rename the styles.scss
file to styles.css
Hopefully someone knows a better way?
OMG THANK YOU SO MUCH. has to use the /assets/css/styles.min.css file that the app creates.