Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1.75 KB

README.md

File metadata and controls

55 lines (36 loc) · 1.75 KB

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

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.

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.

Prerequisitesvite

Make sure you have the following installed:

  • Node.js (version 18 or higher)
  • pnpm (version 9 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:add card

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