Nuxt/docs/3.api/3.utils/on-before-route-update.md
2023-04-24 21:29:24 +01:00

394 B

title description
onBeforeRouteUpdate The onBeforeRouteUpdate composable allows registering a route guard within a component.

onBeforeRouteUpdate

The onBeforeRouteUpdate composable adds a navigation guard that triggers whenever the component for the current location is about to be updated.

::ReadMore{link="https://router.vuejs.org/api/#Functions-onBeforeRouteUpdate"} ::