2022-11-10 14:07:47 +00:00
|
|
|
---
|
|
|
|
title: "onBeforeRouteUpdate"
|
|
|
|
description: 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.
|
|
|
|
|
2023-04-24 20:29:24 +00:00
|
|
|
::ReadMore{link="https://router.vuejs.org/api/#Functions-onBeforeRouteUpdate"}
|
2022-11-10 14:07:47 +00:00
|
|
|
::
|