mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-23 14:15:13 +00:00
2facf0e594
* docs: improve seo titleTemplate and add social images * chore: update
386 B
386 B
title | description |
---|---|
onBeforeRouteLeave | The onBeforeRouteLeave composable allows registering a route guard within a component. |
onBeforeRouteLeave
The onBeforeRouteLeave
composable adds a navigation guard that triggers whenever the component for the current location is about to be left.
::ReadMore{link="https://router.vuejs.org/api/index.html#onbeforerouteleave"} ::