Reputation: 945
How should I correctly use materialize Sass in a react project created with create-react-app? Where should I keep the scss and js files?
I suppose if I use sass, I'm not supposed to be importing minified css and js files in my index.html?
Upvotes: 0
Views: 915
Reputation: 2378
Here is an article that discusses creating a custom css build and importing javascript on a per-component basis:
https://medium.com/@mattdlockyer/youre-using-materialize-css-wrong-470b593e78e9
Upvotes: 0
Reputation: 144
3 easy steps and you're set!
more info: https://scotch.io/tutorials/using-sass-in-create-react-app-v2
Upvotes: 1