DEV Community

Discussion on: How to add sass to your create-react-app in 2022

Collapse
 
lxctn profile image
Lex • Edited

Hello !
So you say that sass is installed by default with create-react-app, Are you sure about this ?
I try it :

Failed to compile. Cannot find module 'sass'

Also the create-react-app documentation say : "To use Sass, first install sass"

Maybe you have install sass globaly ?

a create-react-app have sass configured by default, but sass is not installed.
Not sure why yet, it seem strange.