2022-11-10 14:07:47 +00:00
|
|
|
---
|
|
|
|
title: "onBeforeRouteLeave"
|
|
|
|
description: The onBeforeRouteLeave composable allows registering a route guard within a component.
|
2023-10-18 10:59:43 +00:00
|
|
|
links:
|
|
|
|
- label: Source
|
|
|
|
icon: i-simple-icons-github
|
|
|
|
to: https://github.com/nuxt/nuxt/blob/main/packages/nuxt/src/app/composables/router.ts
|
|
|
|
size: xs
|
2022-11-10 14:07:47 +00:00
|
|
|
---
|
|
|
|
|
2023-10-18 10:59:43 +00:00
|
|
|
:read-more{icon="i-simple-icons-vuedotjs" to="https://router.vuejs.org/api/#onBeforeRouteLeave" title="Vue Router Docs" target="_blank"}
|