solid-ui icon indicating copy to clipboard operation
solid-ui copied to clipboard

Add support for `tailwind.prefix` config

Open obedm503 opened this issue 6 months ago • 0 comments

shadcn/ui supports setting a prefix in the config. This is especially useful when integrating tailwind in legacy projects.

This is what it looks like in the components.json:

{
  "tailwind": {
    "prefix": "tw-"
  }
}

My current workaround is to add the prefix to every component manually. Please add support for the tailwind prefix.

obedm503 avatar Aug 10 '24 04:08 obedm503