ui
ui copied to clipboard
how to install shadcn ui without overriding my whole app in next js?
I want to install Shadcn UI on my Next.js project, but it is overriding my entire application. I only need it for a specific route, and I don't want it to override my other routes.
It only overrides globals.css file and tailwindconfig.js file.
To solve this issue there are 2 ways -
- Install shadcn immediately after creating your project. (recommended)
- While installing shadcn, copy code of globals.css and tailwindconfig.js and keep it somewhere else like in notepad. Then after installation of shadcn, paste it in your code again.
This issue has been automatically closed because it received no activity for a while. If you think it was closed by accident, please leave a comment. Thank you.