Skip to content

How to change the 'tw-' prefix in shadcn's file components.json #2924

Closed Answered by alejandrotnaranjo
alejandrotnaranjo asked this question in Q&A
Discussion options

You must be logged in to vote

I've already changed it, all i had to do was delete the "prefix" line of code in components.json and also in tailwind.config.js and then correct all the involved styles by deleting the prefixes 'tw-'

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by alejandrotnaranjo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant