You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I currently have my project setup with Emotion but have tried Sass modules as well. It compiles styles in the pages dir, but not elsewhere. Is this a Next.js issue, or is there something wrong with the way I set it up? When I tried with Sass modules I encountered the same problem, where the styles would exist if the component was in pages but not in another root dir.
I currently have my project setup with Emotion but have tried Sass modules as well. It compiles styles in the
pages
dir, but not elsewhere. Is this a Next.js issue, or is there something wrong with the way I set it up? When I tried with Sass modules I encountered the same problem, where the styles would exist if the component was inpages
but not in another root dir.Styles exist in
pages
Styles do not exist in
components
The weird thing is, the className is there but just not the styles for it.
Expected Behavior
Has styles in the Header className
Current Behavior
Header className is being referenced but contains no styles. However, the styles in pages does.
The text was updated successfully, but these errors were encountered: