Closed
Description
What problem does this feature solve?
Current the documentation about composition API https://router.vuejs.org/guide/advanced/navigation-guards.html#using-the-composition-api doesn't mention about onBeforeRouteEnter
. I see in Options API
, there is beforeRouteEnter
hence there should be one for composition API too.
What does the proposed API look like?
export function onBeforeRouteUpdate(to, from) {
//....
}
Metadata
Metadata
Assignees
Labels
No labels