Hey, my name is Rajdeep Singh. in this article, I’m told you How to add scss or sass in your react project.
What is Sass?
According to Wikipedia sass is a preprocessor scripting language that is interpreted or compiled into Cascading Style Sheets (CSS).
Basic Infomation about sass/scss According to Wikipedia sass is a preprocessor scripting language that is interpreted or compiled into Cascading Style…medium.com
If you use the create-react-app in your project use npm, you can easily install and use Sass in your React projects with 3 simple steps.
1.Install node-sass: npm install node-sass
2.Change file extension .css to .scss
3.Import your .scss files in your React components
my thought read this article you definitely use sass or scss in your project any problem, query, suggestion tell me to comment below.
thanks for reading
— happy coding —