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...
Editer cette page sur GitHub
Mise à jour le Mon, July 12, 2021