DEV Community

Tao Liu
Tao Liu

Posted on • Edited on

Things I did to get SCSS to work in a legacy react app

  676  npm install sass
  677  npm install node-sass
  678  npm install

Enter fullscreen mode Exit fullscreen mode

in package.json, change:

"react-scripts": "2.0.0",
Enter fullscreen mode Exit fullscreen mode

to

"react-scripts": "4.0.3",
Enter fullscreen mode Exit fullscreen mode

Top comments (0)