docs(link): update

This commit is contained in:
Benjamin Canac
2024-08-01 15:13:42 +02:00
parent e94461d1fa
commit 372d902f7e
3 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@ Use the `items` prop as an array of objects with the following properties:
- `avatar?: AvatarProps`{lang="ts-type"}
- [`slot?: string`{lang="ts-type"}](#with-custom-slot)
You can also pass any property from [NuxtLink](https://nuxt.com/docs/api/components/nuxt-link#props) component such as `to`, `target`, etc.
You can also pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
::component-code
---

View File

@@ -30,7 +30,7 @@ props:
### Link
You can pass any property from [NuxtLink](https://nuxt.com/docs/api/components/nuxt-link#props) component such as `to`, `target`, etc.
You can pass any property from the [Link](/components/link#props) component such as `to`, `target`, etc.
::component-code
---

View File

@@ -8,7 +8,7 @@ links:
## Usage
The Link component is a wrapper around [`<NuxtLink>`](https://nuxt.com/docs/api/components/nuxt-link) through the [`custom`](https://router.vuejs.org/api/interfaces/RouterLinkProps.html#Properties-custom) prop that provides a few extra props:
The Link component is a wrapper around [`<NuxtLink>`](https://nuxt.com/docs/api/components/nuxt-link) using the [`custom`](https://router.vuejs.org/api/interfaces/RouterLinkProps.html#Properties-custom) prop. It provides a few extra props:
- `inactive-class` prop to set a class when the link is inactive, `active-class` is used when active.
- `exact` prop to style with `active-class` when the link is active and the route is exactly the same as the current route.