Skip to content
Discussion options

You must be logged in to vote

I just released v1.2.0 with prefix support. You can set it in both extendTailwindMerge and createTailwindMerge.

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-' })

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@brankoconjic
Comment options

@dcastil
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by dcastil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
context-v1 Related to tailwind-merge v1
2 participants