Skip to content

Cannot switch between aliased paths #613

@radek-altof

Description

@radek-altof

Version

4.0.0-rc.5

Reproduction link

https://codesandbox.io/s/vue-router-4-reproduction-forked-qxzts

Steps to reproduce

Have a look at router aliases and try clicking through navigation.

What is expected?

  1. You should be able to navigate between aliased paths, even when they resolve to the current route object (so that the path changes).

  2. <router-link> should have router-link-exact-active class only when the path matches exactly.

What is actually happening?

  1. You can't navigate between aliased paths that resolve to the current route object.

  2. <router-link> has router-link-exact-active class when an entire route object matches (because of alias).

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