-
Notifications
You must be signed in to change notification settings - Fork 28k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
How to use with-external-scoped-css example with SCSS #3053
Comments
cc @guidiego |
@aviramga did you change the You can remove this line: |
Works!!! THANK YOU! @guidiego ! Can you please explain why this works? I hate it to stay in the "magic" level :) Also, I cannot use fixed class names? (i.e className="some-class" ) and just use the same class name in my scss file? |
Going to close this, but @guidiego can most likely explain 😄 |
Cool thanks! @guidiego please help :) |
@aviramga Also be sure to join https://zeit.chat 😄 |
@aviramga Gonna go in parts: This example works with any pre-processor, the The babel-plugin used to make this example works fine with SCSS and LESS without a necessity to create/use the
Yeap, for what I remember (I use some plugins) you can add a CC: @timneutkens I opened a PR for link this issue in my example with a better explanation :) |
Thanks @guidiego for the amazing explanation! Where did you get the :global tip from? Also, is there a way to fix the hot-reload issue? |
@aviramga
Maybe we need an example without CSS Modules. |
This thread has been automatically locked because it has not had recent activity. Please open a new issue for related bugs and link to relevant comments in this thread. |
Hi,
I'm working with the with-external-scoped-css example and would like to covert the sass to scss. I've updated the .bablerc file to include scss but the bundle.css appears to be empty.
Could someone please help me with the exact steps to convert it to scss?
I've already looked at the other css related examples (including the global one) but I would really like to keep the scoped css solution.
Im using Next v4-beta.4
Thanks for the help!
The text was updated successfully, but these errors were encountered: