I found the create-react-app docs recommends to use node-sass but the package in npm is saying that LibSass and Node Sass are deprecated.
so if any one can help what's the best way to install sass with a react project?
CodePudding user response:
I have been using sass
in my React
apps by doing as the create-react-app
docs recommend, and everything works fine. If it is juste one of theses warning of npm
, I think it is ok. This line in the terminal of your root project folder and you are good to go.
npm install node-sass --save