NuxtN
Nuxt2y ago
V1NUM

Make `useRoute()` update in layout

Hi!
Im trying to use useRoute() in a layout, to update my navigations links based on the ´route.params.id´, but the route object does not update when going from page to page. How do i make the layout update the route object?

Any help is greatly appreciated.
Thanks
Was this page helpful?