TailwindCSS with Next.js #19410
Unanswered
amuttsch
asked this question in
Component Testing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
has anyone got tailwindcss running with nextjs in cypress component testing? I cannot import my global css as next won't allow that (https://nextjs.org/docs/messages/css-global). I can import a tailwindcss from a cdn, but then I don't have my custom configuration in it.
I added tailwind using this guide: https://tailwindcss.com/docs/guides/nextjs
The issue is that the compiled css is somewhere buried in the
.next
folder and cannot be imported.Anyone got a pointer how to add it?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions