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
Sometimes we may want the active classes to be applied to a wrapping element rather than the `<a>` element itself. You can do so by adding `v-link-active` to a parent element:
45
+
46
+
```html
47
+
<ul>
48
+
<liv-link-active>
49
+
<av-link="{ path: '/xxx' }">Go</a>
50
+
</li>
51
+
</ul>
52
+
```
53
+
54
+
`v-link` will locate the closest parent element that has `v-link-active` and apply the active classes on that element instead.
0 commit comments