Cypress 10 component testing and Tailwindcss #22095
Unanswered
hsheikhali1P
asked this question in
Component Testing
Replies: 2 comments
-
Hi, there is some reference to this in the docs about styling components. In the simplest case you can add a global stylesheet like tailwind to Another option is to import CSS in your component testing support file, located at |
Beta Was this translation helpful? Give feedback.
0 replies
-
I followed the tailwind instructions here to get Vite to pick up the styles |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to have Cypress 10 component testing work with Tailwindcss ? I haven't been able to find a reliable guide.. As of right now my components have 0 styles and I think that's because cypress isn't running anything to let the project know that there are tailwind classes being used?
Beta Was this translation helpful? Give feedback.
All reactions