8000 beforeLeave is mentioned in documentation · Issue #2929 · vuejs/vue-router · GitHub
[go: up one dir, main page]

Skip to content
beforeLeave is mentioned in documentation #2929
Closed
@steven-pribilinskiy

Description

@steven-pribilinskiy

Version

3.1.3

Reproduction link

https://router.vuejs.org/guide/essentials/redirect-and-alias.html#redirect

Steps to reproduce

Navigate to https://router.vuejs.org/guide/essentials/redirect-and-alias.html#redirect and read the note:

Note that Navigation Guards are not applied on the route that redirects, only on its target. In the example below, adding a beforeEnter or beforeLeave guard to the /a route would not have any effect.

What is expected?

beforeLeave should not be mentioned as it's not implemented for a RouteConfig yet
See https://router.vuejs.org/api/#router-construction-options

What is actually happening?

beforeLeave is in docs

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0