Skip to content

Allow reloading of the current route when clicked #2957

@boycce

Description

@boycce

What problem does this feature solve?

I think it's important for vue-router to try mimic native browser for such as when dealing with links being clicked. Adding an option to allow the current route being reloaded when clicked would allow any API requests to be re-fetched that located under the navigational guards (beforeEach, beforeRouteEnter, etc)

What does the proposed API look like?

Maybe include a router instance option to allow for this behaviour

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