-
Notifications
You must be signed in to change notification settings - Fork 320
Sass (SCSS) support #31
Comments
https://github.com/webpack/react-starter/blob/master/make-webpack-config.js#L33 Looks like I bound it to the wrong extension... |
I am having a different issue with this. It works when the browser is rendering, but when I prerender I get this:
|
Looks like the |
When I change a file from css to sass i get an error showing tht the sass-loader is not installed, after I do it it starts to throw the following error:
and my applicatipn.sass
Any idea? |
@kaiomagalhaes I met the same issue as you yesterday night. Did you managed to solve it? |
@caedes Sorry bro, no. In the end I decided to use the scss. |
I had the same problem like @jonaswindey. So the install process: Modify webpack.config.js like this And the .js file like this |
After trying many solutions finally, I am able to make it work. |
@HunSpeedi, how did you get it to work on your side? |
@Hello-Zeze I wrote down above the full process! If you follow the instructions, that must be solve it i think. |
@HunSpeedi 's solution solved the issue for me. I installed the packages and previously had: |
I'm having problems with loading .scss files as my stylesheets.
I tried adding https://github.com/jtangelder/sass-loader but I see what I should change in the config to add this rule:
I renamed style.css to style.scss and changed require("./style.scss"); in my index.jsx file, but I get:
Where do I add this sass-loader in the current make-webpack-config.js ?
The text was updated successfully, but these errors were encountered: