Answers for "add scss to react typescript"

4

react typescript scss

// Initialize React app with Typescript
// 	$ npx create-react-app yourProjectName --template typescript

// Go into project folder
//  $ cd yourProjectName

// Install node-sass dependency
//  $ npm i node-sass

// You can now import .scss / .sass files into your React components 
// and use Typescript too. Happy coding!
Posted by: Guest on May-07-2021
5

install scss in react js

$ npm install node-sass --save
$ # or
$ yarn add node-sass
Posted by: Guest on December-22-2020
0

how to add scss to a react app

# using npm
npm install node-sass --save

# using yarn
yarn add node-sass
Posted by: Guest on July-06-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language