mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-24 22:55:13 +00:00
3ec108493d
* docs: simplify docs to only markdown * Create nuxt-config.md * chore: update * chore: add readme
12 lines
394 B
Markdown
12 lines
394 B
Markdown
---
|
|
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.
|
|
|
|
::ReadMore{link="https://router.vuejs.org/api/index.html#onbeforerouteupdate"}
|
|
::
|