Persistent layout with navigation highlights #904
Unanswered
jesperbjoernandersen
asked this question in
Help (Vue)
Replies: 1 comment 3 replies
-
@jesperbjoernandersen Please take a look at this discussion and the documentaton and see if this solves your issue. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using a persistent layout, which imports a navigation component.
Having some issues getting the navigation "active" class to update, when clicking the different InertiaLinks
I've made a wrapper component for the links, that has a computed property of active(), which is looking at this.route().current() from Ziggy, but it's just not working.
Does anyone have any idea how make it work or perhaps any ideas how to make something simular?
Beta Was this translation helpful? Give feedback.
All reactions