Is 'prefix' supported? #77
Answered
by
dcastil
brankoconjic
asked this question in
Help
-
Hi, Is prefix option supported? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
dcastil
Jan 8, 2022
Replies: 2 comments 2 replies
-
Hey @brankoconjic! 👋 At the moment it isn't supported unfortunately. But I think I could add that feature if you need it. Do you use the prefix feature in your Tailwind config? |
Beta Was this translation helpful? Give feedback.
2 replies
-
I just released v1.2.0 with prefix support. You can set it in both If you use the default Tailwind config with a prefix, you can use it like this: import { extendTailwindMerge } from 'tailwind-merge'
export const twMerge = extendTailwindMerge({ prefix: 'my-prefix-' }) |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
dcastil
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just released v1.2.0 with prefix support. You can set it in both
extendTailwindMerge
andcreateTailwindMerge
.If you use the default Tailwind config with a prefix, you can use it like this: