Create a Turborepo with NextJs & Tailwind & Shadcn

I’m working on setting up a monorepo using Turborepo that will include:

  1. Multiple Next.js apps.
  2. A shared UI package for reusable components, built using ShadCN components.

Here’s what I’m aiming to achieve:

  • The shared UI package should live in the packages/ui directory.
  • Both Next.js apps (e.g., apps/app1 and apps/app2) should consume the UI package seamlessly.

Can anyone help me for the same facing configuration issues

You may want to check out Monorepo - shadcn/ui, which does exactly what you’re describing and can handle some of the configuration for you. :smile: