Answers for "adding scss to existing react app"

CSS
16

reactjs sass setup

// step 1: install node-sass
// using npm
npm install node-sass --save
// using yarn
yarn add node-sass

// step 2: Convert your .css files to .scss

// step 3: add in your app.js
import './App.scss';
Posted by: Guest on July-26-2021
0

scss import react

npm i sass
Posted by: Guest on March-03-2022

Browse Popular Code Answers by Language