Having hard time with ShadCN and monorepo
Unanswered
Rhinelander posted this in #help-forum
RhinelanderOP
Step 1:
Step 2:
Step 3:
Than I try to install blocks like
It creates it just fine the problem is that radix is not found. Even if I pnpm install again
pnpm dlx shadcn@canary init
Step 2:
? Would you like to start a new project?
Next.js
❯ Next.js (Monorepo)
Step 3:
cd apps/web
Than I try to install blocks like
npx shadcn@canary add login-04
It creates it just fine the problem is that radix is not found. Even if I pnpm install again
2 Replies
@Rhinelander **Step 1:**
pnpm dlx shadcn@canary init
**Step 2:**
? Would you like to start a new project?
Next.js
❯ Next.js (Monorepo)
**Step 3:**
cd apps/web
Than I try to install blocks like
npx shadcn@canary add login-04
It creates it just fine the problem is that radix is not found. Even if I pnpm install again
replace that import with 'radix-ui'
RhinelanderOP
i ran the migration command and radix ui wasn't found