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

The addRoutes method need to suport adding dynamic routes as children to an existing route #2622

hzsrc opened this Issue Feb 22, 2019 · 1 comment


None yet
2 participants
Copy link

hzsrc commented Feb 22, 2019

What problem does this feature solve?

The addRoutes method currently only suport add new routes to root routes. But if can not add routes as children to an existing route.

What does the proposed API look like?

router.addRoutes(routes: Array, parent ? : Location)

router.addRoutes([...childRoutes], '/main')


This comment has been minimized.

Copy link

posva commented Feb 22, 2019

Duplicate of #1156

@posva posva marked this as a duplicate of #1156 Feb 22, 2019

@posva posva closed this Feb 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.