compile scss with webpack react code example Example: install scss in react js $ npm install node-sass --save $ # or $ yarn add node-sass