Setup shadcn as a ui package with turborepo
Unanswered
Somali posted this in #help-forum

SomaliOP
Hi! I have a project that i bootstrapped using
I have this folder structure:
apps/web
apps/docs
packages/ui
I want to install shadcn into
How would I go about setting this up? Any hints would be helpful. Thanks!
npx create-turbo@latest
I have this folder structure:
apps/web
apps/docs
packages/ui
I want to install shadcn into
packages/ui
as a shared ui library across my apps.How would I go about setting this up? Any hints would be helpful. Thanks!
4 Replies

Somali
Go to the
packages/ui
folder and install ShadCN along with any required dependencies.cd packages/ui
npm install shadcn

SomaliOP
thanks i figured it out
this is the article that helped me