-
I have a component that is using prefix, tw-. It is used in the website that is using Tailwind but with no prefix. |
Beta Was this translation helpful? Give feedback.
Answered by
Vijaykv5
Mar 17, 2024
Replies: 1 comment 1 reply
-
Hi @pplonski
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
pplonski
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @pplonski
To set the theme both in the component, which requires a prefix like
tw-
, and the website without a prefix, you can do aconditional approach
.