useDuxtNavigation()
The navigation tree for the collection serving this route.
Signature
const { data: navigation } = await useDuxtNavigation();
Returns
A useAsyncData handle over the navigation tree of the collection serving the
current route.
Notes
Asking per route rather than once for the site is what makes a versioned tree
correct: reading v0.7.0 gets that version pages, not the default version.
Was this page helpful?