File tree Expand file tree Collapse file tree 1 file changed +1
-31
lines changed
Expand file tree Collapse file tree 1 file changed +1
-31
lines changed Original file line number Diff line number Diff line change 1- # shadcn/ui monorepo template
2-
3- This template is for creating a monorepo with shadcn/ui.
4-
5- ## Usage
6-
7- ``` bash
8- pnpm dlx shadcn@latest init
9- ```
10-
11- ## Adding components
12-
13- To add components to your app, run the following command at the root of your ` web ` app:
14-
15- ``` bash
16- pnpm dlx shadcn@latest add button -c apps/web
17- ```
18-
19- This will place the ui components in the ` packages/ui/src/components ` directory.
20-
21- ## Tailwind
22-
23- Your ` tailwind.config.ts ` and ` globals.css ` are already set up to use the components from the ` ui ` package.
24-
25- ## Using components
26-
27- To use the components in your app, import them from the ` ui ` package.
28-
29- ``` tsx
30- import { Button } from " @workspace/ui/components/button"
31- ```
1+ This Project helped me learn a lot about how to use Turborepo, Docker, and how to deploy a full stack application.
You can’t perform that action at this time.
0 commit comments