Skip to content

evgenius1424/turborepo-vite-shadcn-ui

 
 

Repository files navigation

🚀 Turborepo starter with shared shadcn/ui components (Vite, Next.js). Tailwind 4 support.

Build Update Dependencies

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.

The goal of this repository is to provide up-to-date starters for vite-react and Next.js, and probably something else.

Prerequisitesvite

Make sure you have the following installed:

  • Node.js (version 20 or higher)
  • pnpm (version 10 or higher)

Installation

  1. Clone the repository:

    git clone https://github.com/evgenius1424/turborepo-vite-shadcn-ui.git
    cd turborepo-vite-shadcn-ui
  2. Install dependencies using pnpm:

    pnpm install
  3. Build

    pnpm build
  4. Develop

   pnpm dev
  1. Add new component (replace card with button, tabs, you name it)
pnpm ui card

Enjoy working with your new Turborepo starter kit and feel free to raise a PR! 🎉

About

Sharing of shadcn/ui components between Vite and NextJS applications in Turborepo.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 36.9%
  • CSS 32.0%
  • JavaScript 28.4%
  • HTML 2.7%