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

希望vue-router的addRoutes方法能向一个已存在的路由里增加子路由 #1734

Closed
wangyi7099 opened this issue Sep 13, 2017 · 1 comment

Comments

@wangyi7099
Copy link
Contributor

What problem does this feature solve?

嵌套路由的情况下,我想要动态获取菜单,这些每个菜单对应一个vue文件,我想把他们作为子路由添加到一个已存在的路由下面.

What does the proposed API look like?

addRoutes(route,parent)

@posva
Copy link
Member

posva commented Sep 13, 2017

dup of #1156

@posva posva closed this as completed Sep 13, 2017
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

2 participants