Adding Sass or Scss to Create-React-App
Connor Elsea

Great articule Connor, but if you use ‘npm eject’ on an app created with ‘Create-React-App’ you will have to add scss rules, something like:

 test: /\.scss$/,
 use: [{
 loader: ‘style-loader’, // creates style nodes from JS strings
 }, {
 loader: ‘css-loader’, // translates CSS into CommonJS
 }, {
 loader: ‘sass-loader’, // compiles Sass to CSS

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.