Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Routes with aliases and named child routes cause warnings #1119

Closed
Dadibom opened this issue Jan 26, 2017 · 4 comments
Closed

Routes with aliases and named child routes cause warnings #1119

Dadibom opened this issue Jan 26, 2017 · 4 comments

Comments

@Dadibom
Copy link

Dadibom commented Jan 26, 2017

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" }"

@SuperAL
Copy link

SuperAL commented Mar 27, 2017

Updated to [email protected],this problem still exists.
[vue-router] Duplicate named routes definition: { name: "monitor", path: "index.html/monitor" }

@posva
Copy link
Member

posva commented Mar 27, 2017

Create a new issue with a repro. The one provided before doesn't produce any warning now. You can use this template: http://jsfiddle.net/posva/9r6xhqbp/

@samayo
Copy link

samayo commented Sep 17, 2017

@yyx990803 Why is this closed? I have the same issue. At least it should be answered or referenced

@trollepierre
Copy link

Evan closed it because the issue was fixed in the commit 6730768

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants