< Back to Coding, React

Using SASS with React

It sounds simple enough. Just run

npm install node-sass

and change your css file file to a scss. Well… it didn’t work for me. What I need to do was update my Create-React-App to Version 2. To do this, go to packages.json and change the “react-scripts” version to 2.0.3. Simple… when you know it.

Thanks to Bits and Pieces

Be Sociable, Share!

Leave a Reply

Your email address will not be published. Required fields are marked *