Replies: 1 comment
-
|
yea u can totally do this! shadcn works fine in a turborepo monorepo with both nextjs and vite apps side by side. heres the general approach:
the key thing is that each app (nextjs / vite) handles its own tailwind config and css, but the actual component code lives in the shared package. shadcn even has an official monorepo guide now: https://ui.shadcn.com/docs/monorepo also check out the turborepo examples repo — theres a shadcn template there that sets this up out of the box 🙌 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello try someone create new version of shadcn with nextjs and vite ?
Beta Was this translation helpful? Give feedback.
All reactions