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
Hi there, when using this module in Nextjs the issue: vercel/next.js#19936 is present. The error I get is:
./node_modules/@klaxit/cookie-consent/src/styles/main.scss
Global CSS cannot be imported from within node_modules.
Read more: https://nextjs.org/docs/messages/css-npm
Location: node_modules/@klaxit/cookie-consent/src/index.js
Is it possible to use compiled css too? I've tried using my non-existent webpack skills, to no avail. Or am I looking in the wrong direction completely?
The text was updated successfully, but these errors were encountered:
I have to admit that I am totally unfamiliar to Nextjs (we don't use it at Klaxit). For what I could read from the issue you pointed out and the related RFC, it seems that next-global-css has been built just to solve this issue.
Thank you @ccyrille for your reply and suggestion. I tried it, but it posed other problems, so I'll try to figure out how to approach my problem another way. Again, thank you for your response!
Hi there, when using this module in Nextjs the issue: vercel/next.js#19936 is present. The error I get is:
Is it possible to use compiled css too? I've tried using my non-existent webpack skills, to no avail. Or am I looking in the wrong direction completely?
The text was updated successfully, but these errors were encountered: