Skip to content

Routes with aliases and named child routes cause warnings #1119

Closed
@Dadibom

Description

@Dadibom

Vue.js / vue-router versions

>= 2.1.2

Reproduction Link

https://jsbin.com/satalijiga/edit?js,console

Steps to reproduce

Give a child route a name, add an alias to the parent

What is actually happening?

The console is blasted with warnings about duplicate named route definitions. This happened at 2.1.2

"[vue-router] Duplicate named routes definition: { name: "test.subpage", path: "/subpage" }"

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