Skip to content

Alias does not support nested routes #987

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

Closed
lifeforfun opened this issue Dec 6, 2016 · 1 comment
Closed

Alias does not support nested routes #987

lifeforfun opened this issue Dec 6, 2016 · 1 comment

Comments

@lifeforfun
Copy link

lifeforfun commented Dec 6, 2016

Demo is here: codepen
Component /a/add has an alias /a/edit but its children does not inherit its alias like /a/edit/campaign/a/edit/ad_group/a/edit/keyword . They only has their default path /a/add/campaign/a/add/ad_group/a/add/keyword

My english doesn't well, so I translate it into Chinese in case of viewer can not understand.
中文版(如果上面的没看明白请看下面的解释)
组件指定了别名后其子组件并没有继承这个别名,比如路由**/a/下的子路由add** 指定了别名为edit, 然后add路由下又有子路由campaignad_groupkeyword. 这三个路由并没有继承路由add添加的这个别名,即**/a/edit/campaign**、/a/edit/ad_group/a/edit/keyword

@LinusBorg
Copy link
Member

I just tried this, seems to be a bug indeed.

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

No branches or pull requests

2 participants