-
Notifications
You must be signed in to change notification settings - Fork 27.5k
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
How to implement SCSS in _document.js for global styling? #5380
Comments
any information please? |
@JSMindBlowing I put my global styles in a custom |
@jbsmith731 thanks for replying.. can you provide the way how you implement it please? |
@JSMindBlowing This is a simplified version of what I do. I use css modules so that's where
|
@jbsmith731 , it works , thank you very much , now I can go party :D |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Question about Next.js
I have have a file "style.scss" and I want to import it to _doucment.js file to add it to the Header there and use it across all pages , I am using
import "./syles.css
this approch works in the components very well , but it is not working in _document.js . I have read some solutions for issues related to this,and I tried but it didn't work ,I think the answer is simple but I am still able to figure out how ? ! thanks in advance for help
The text was updated successfully, but these errors were encountered: