You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/content/2.components/link.md
+1
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@ The Link component is a wrapper around [`<NuxtLink>`](https://nuxt.com/docs/api/
14
14
-`inactive-class` prop to set a class when the link is inactive, `active-class` is used when active.
15
15
-`exact` prop to style with `active-class` when the link is active and the route is exactly the same as the current route.
16
16
-`exact-query` and `exact-hash` props to style with `active-class` when the link is active and the query or hash is exactly the same as the current query or hash.
17
+
- use `exact-query="partial"` to style with `active-class` when the link is active and the query partially match the current query.
17
18
18
19
The incentive behind this is to provide the same API as NuxtLink back in Nuxt 2 / Vue 2. You can read more about it in the Vue Router [migration from Vue 2](https://router.vuejs.org/guide/migration/#removal-of-the-exact-prop-in-router-link) guide.
0 commit comments