Support of tailwind 3.1.8 #152
-
Hello guys, since I updated tailwind to the latest version, twmerge seems to not work properly anymore. Best regards! |
Beta Was this translation helpful? Give feedback.
Answered by
dcastil
Oct 14, 2022
Replies: 1 comment 6 replies
-
Hi @KevinHoppeLS! 👋 The latest tailwind-merge version should already support Tailwind CSS v3.1.8. Can you tell me what specifically doesn't work properly anymore? |
Beta Was this translation helpful? Give feedback.
6 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You're using Vue, right? I think the problem here isn't tailwind-merge but Vue. You can test this by writing this code somewhere:
The result should be
text-white inline-block bg-white border-2 rounded-full fill-current border-current p-2 ml-2 shadow gradient-red-promo border-none h-8 w-8
→ there are no duplicated classes.The reason why those classes still show up duplicated in the class attribute is because Vue takes the class prop on
CircleIconWrapper
and appends it to the root …