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?
3 easy steps and you're set!
more info: https://scotch.io/tutorials/using-sass-in-create-react-app-v2
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
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.