๐Ÿ“ฆ ronitrajfr / echo

โ˜… 0 stars โ‘‚ 0 forks ๐Ÿ‘ 0 watching
๐Ÿ“ฅ Clone https://github.com/ronitrajfr/echo.git
HTTPS git clone https://github.com/ronitrajfr/echo.git
SSH git clone git@github.com:ronitrajfr/echo.git
CLI gh repo clone ronitrajfr/echo
ronitrajfr ronitrajfr hmm 8c1b3ea 23 days ago ๐Ÿ“ History
๐Ÿ“‚ convex-package View all commits โ†’
๐Ÿ“ .vscode
๐Ÿ“ apps
๐Ÿ“ packages
๐Ÿ“„ .eslintrc.js
๐Ÿ“„ .gitignore
๐Ÿ“„ .npmrc
๐Ÿ“„ package.json
๐Ÿ“„ pnpm-lock.yaml
๐Ÿ“„ README.md
๐Ÿ“„ tsconfig.json
๐Ÿ“„ turbo.json
๐Ÿ“„ README.md

shadcn/ui monorepo template

This template is for creating a monorepo with shadcn/ui.

Usage

pnpm dlx shadcn@latest init

Adding components

To add components to your app, run the following command at the root of your web app:

pnpm dlx shadcn@latest add button -c apps/web

This will place the ui components in the packages/ui/src/components directory.

Tailwind

Your tailwind.config.ts and globals.css are already set up to use the components from the ui package.

Using components

To use the components in your app, import them from the ui package.

import { Button } from "@workspace/ui/components/button"