installing sass on react code example
Example 1: install scss in react js
$ npm install node-sass --save
$ # or
$ yarn add node-sass
Example 2: install node-sass version for react
npm i node-sass@4.14.1
$ npm install node-sass --save
$ # or
$ yarn add node-sass
npm i node-sass@4.14.1