docs: add @internationalized/date package installation instruction (#654)

This commit is contained in:
Hannes 2024-07-10 06:28:54 +02:00 committed by GitHub
parent 9ddbd5c0d2
commit edad815fd9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,10 @@ If you're looking for a range calendar, check out the [Range Calendar](/docs/com
```bash ```bash
npx shadcn-vue@latest add calendar npx shadcn-vue@latest add calendar
``` ```
::: tip
The component depends on the [@internationalized/date](https://react-spectrum.adobe.com/internationalized/date/index.html) package, which solves a lot of the problems that come with working with dates and times in JavaScript.
Check [Dates & Times in Radix Vue](https://www.radix-vue.com/guides/dates.html) for more information and installation instructions.
:::
## Datepicker ## Datepicker