-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sass not working #4347
Comments
Sass support was added to the 2.x branch which is in alpha testing. You won't get it in a newly created project unless you tell CRA specifically to use the 2.x alphas. Note they have bugs and will have more breaking changes. I suggest you to wait for the official release. |
@gaearon thanks |
If you do want to try it, the instructions are here: #3815 |
Hey! The docs for the SCSS/SASS support on master suggest that the integration work. Would it be possible to revise the documentation and specify that the SCSS/SASS support is only for version 2.x ? Have a wonderful day ✨ Cheers, Philippe |
The docs Philippe is referring to was added Feb 2017: https://github.com/facebookincubator/create-react-app/pull/1008/files. This was before the 2.0 change considerations, I assume, and the steps should work with 1.0 versions (?) but I was not able to get it working either. |
@TifaJ11: Thanks for your answer :) I guess that when a contributor gets time to see this issue, they'll shed a bit more light on the situation. Have a wonderful day 🚀 Cheers, Phil |
Using the 2.0 next version (fresh install) I inteded to use an SCSS + CSS Modules and this happens:
Is there something that needs to be done in order to opt-in? How do I opt-in in order to use/test these features? |
@philippefutureboy @TifaJ11 The docs you referred to is indeed for v1.x of create-react-app. I've used these steps before and can confirm they work. If you need assistance considering filing a new issue with proper repo steps. |
Sass is now supported. |
Can see that sass was added so tried it on a fresh install by changing the app.css and index.css to scss files. Didn't work. What steps are required to get this working
The text was updated successfully, but these errors were encountered: