M
M
MRcracker2021-11-12 01:30:50
React
MRcracker, 2021-11-12 01:30:50

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 question

Ask a Question

731 491 924 answers to any question