Skip to content

Commit

Permalink
Merge pull request #93 from MatyiFKBT/matyifkbt/readme-update
Browse files Browse the repository at this point in the history
  • Loading branch information
vantezzen authored Sep 2, 2024
2 parents 491c89e + 8715308 commit 1f0e0bc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@ If you are using @shadcn/ui 2.0.0 or later, you can install the component direct

```bash
# If your components are in "/components/ui"
npx shadcn-ui@latest add https://raw.githubusercontent.com/vantezzen/auto-form/main/registry/auto-form.json
npx shadcn@latest add https://raw.githubusercontent.com/vantezzen/auto-form/main/registry/auto-form.json

# If your components are in "/src/components/ui"
npx shadcn-ui@latest add https://raw.githubusercontent.com/vantezzen/auto-form/main/registry/auto-form-src.json
npx shadcn@latest add https://raw.githubusercontent.com/vantezzen/auto-form/main/registry/auto-form-src.json
```

### Manual installation
Expand All @@ -54,7 +54,7 @@ The component depends on the following components from shadcn/ui:
You can install them all at once with:

```bash
npx shadcn-ui@latest add accordion button calendar card checkbox form input label popover radio-group select separator switch textarea tooltip toggle
npx shadcn@latest add accordion button calendar card checkbox form input label popover radio-group select separator switch textarea tooltip toggle
```
To install the component itself, copy the `auto-form` folder and `date-picker.tsx` from `src/components/ui` to your project's ui folder.
Expand Down

0 comments on commit 1f0e0bc

Please sign in to comment.