Installing Sass with React

Photo by Annie Theby on Unsplash

This is a quick installation guide for Sass with React! After going through the install instructions on the Sass website, I was still not able to start using Sass with React. But then came Google to save the day! This is what worked for me:

// in the console, enter:
npm install node-sass — save
// double check that Sass was installed
sass — version
// then
npm i sass-loader@latest
// and restart the terminal!

That’s it! If you had the same problem as me, I hope this solution helped you as well!

--

--

--

Laotian-American woman pursuing my passion for mentally stimulating and complex problem-solving through programming.

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Chindalath Traymany

Chindalath Traymany

Laotian-American woman pursuing my passion for mentally stimulating and complex problem-solving through programming.

More from Medium

How to style React

8 Famous Projects Using React.JS: Feature Overview

React Context api in React-Native

Theme toggle with react context

React Hook for Dapps | Contract Initialization.