NuxtN
Nuxt2y ago
Jan

NuxtLink missing active class when sub-path is open.

Hey, I have a problem while using NuxtLink. I have a NuxtLink with the "to" property set to "/tickets". When i open the url to /tickets, the link gets the active-class. But when I open /tickets/ticket/567 the link does not get the active-class. The directory structure is as follows.
pages/
|__ tickets
        |__ index.vue
        |__ ticket
                |__ [id].vue

Anyone has an Idea on how to fix this?
Was this page helpful?