Answers for "how add sass file in react"

6

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

to import sass files you first need to install node-sass. react

npm install [email protected]
Posted by: Guest on June-13-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language