Answer the question
In order to leave comments, you need to log in
How to include styles correctly?
I use next.js in the project. I use scss for styling. I use a modular approach i.e. in the components folder there is a file and css styles
components/
Navbar/
index.ts
Navbar.module.scss
When building, everything works, but when I upload it to the server, the css does not work. Where to look for a problem?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question