Active Link Classes
Change the default NuxtLink classes and style the active and exact active classes as well as disable prefetch for a specific link
In this example:
layouts/default.vue
shows the styles for nuxt-link-active
and nuxt-link-exact-active
.
Learn more about vue routers active and exact active classes.
Learn more about active classes in the Features book in the Nuxt Components chapter.
Loading Sandbox...
Edit this page on GitHub
Updated at Wed, Apr 3, 2024


















































