This repository is a monorepo starter kit utilizing Turborepo for managing multiple
applications with shared shadcn/ui components. It includes two applications (vite
and nextjs
) in the apps
directory, both of which use shared components from the @repo/ui
package.
This repository is based on https://github.com/dan5py/turborepo-shadcn-ui starter.
The goal of this repository is to provide up-to-date starters for vite-react and Next.js, and probably something else.
Make sure you have the following installed:
-
Clone the repository:
git clone https://github.com/evgenius1424/turborepo-vite-shadcn-ui.git cd turborepo-vite-shadcn-ui
-
Install dependencies using
pnpm
:pnpm install
-
Build
pnpm build
-
Develop
pnpm dev
- Add new component (replace card with button, tabs, you name it)
pnpm ui:add card
Enjoy working with your new Turborepo starter kit and feel free to raise a PR! 🎉