Files
myeasycms-v2/packages/ui/README.md
Giancarlo Buomprisco fafcafc221 Updated UI package to work with the new Shadcn CLI (#59)
Updated UI package to work with the new Shadcn CLI
2024-09-03 18:17:51 +08:00

22 lines
620 B
Markdown

# UI - @kit/ui
This package is responsible for managing the UI components and styles across the app.
This package define two sets of components:
- `shadn-ui`: A set of UI components that can be used across the app using shadn UI
- `makerkit`: Components specific to MakerKit
## Installing a Shadcn UI component
To install a Shadcn UI component, you can use the following command in the root of the repository:
```bash
npx shadcn@latest add <component> -c packages/ui
```
For example, to install the `Button` component, you can use the following command:
```bash
npx shadcn-ui@latest add button -c packages/ui
```