324d676599
- rename the root project and README branding to Simple React App Kit - synchronize the Bun lockfile with the UI, blocks, i18n, TanStack Start, and testing dependency graph - remove the retired workspace lint task and ignore generated Nitro output - add shared Zed Tailwind language-server settings for project class helpers
23 lines
557 B
Markdown
23 lines
557 B
Markdown
# Simple React App Kit
|
|
|
|
Simple React App Kit is a reusable React application kit built with TanStack
|
|
Start, shadcn/ui, and workspace packages.
|
|
|
|
## Adding components
|
|
|
|
To add components to your app, run the following command at the root of your `web` app:
|
|
|
|
```bash
|
|
pnpm dlx shadcn@latest add button -c apps/web
|
|
```
|
|
|
|
This will place the ui components in the `packages/ui/src/components` directory.
|
|
|
|
## Using components
|
|
|
|
To use the components in your app, import them from the `ui` package.
|
|
|
|
```tsx
|
|
import { Button } from "@workspace/ui/components/button";
|
|
```
|