docs(components): update github links to nuxt/ui repository

This commit is contained in:
Benjamin Canac
2024-09-10 15:34:09 +02:00
parent c578acbb88
commit d8d7b8fcc5
45 changed files with 74 additions and 53 deletions

View File

@@ -6,7 +6,7 @@ links:
to: https://www.radix-vue.com/components/dialog.html
- label: GitHub
icon: i-simple-icons-github
to: https://github.com/benjamincanac/ui3/tree/dev/src/runtime/components/Modal.vue
to: https://github.com/nuxt/ui/tree/v3/src/runtime/components/Modal.vue
---
## Usage
@@ -281,7 +281,7 @@ This allows you to move the trigger outside of the Modal or remove it entirely.
You can use the [`useModal`](/composables/use-modal) composable to open a Modal programatically.
::important
Make sure to wrap your app with the [App](/components/app) component which uses the [ModalProvider](https://github.com/benjamincanac/ui3/blob/dev/src/runtime/components/ModalProvider.vue) component.
Make sure to wrap your app with the [App](/components/app) component which uses the [ModalProvider](https://github.com/nuxt/ui/blob/v3/src/runtime/components/ModalProvider.vue) component.
::
First, create a modal component that will be opened programatically: