Issue with Tailwind CSS #29816
Unanswered
karakaiyuliia
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
-
Cypress does not work with Tailwind CSS. I was following the setup in this repo and none of the suggested setups work for me, they all result in the below error when simply trying to mount a component.
I compiled my tailwind css using
tailwindcss -i src/tailwind.css -o src/index.css
In my
component.js
:In
cypress.config.js
:And my test:
I am using React, Next.js and Tailwind.
Beta Was this translation helpful? Give feedback.
All reactions