framework: using setRoot fails to employ the router after the first call
Aurelia.setRoot('a') // a is called, its router is instantiated properly
Aurelia.setRoot('b')
Aurelia.setRoot('a') // a is called but its router-view is empty
About this issue
- Original URL
- State: closed
- Created 9 years ago
- Comments: 37 (22 by maintainers)
Commits related to this issue
- feat(router): add rest method This partially addresses https://github.com/aurelia/framework/issues/212 — committed to aurelia/router by EisenbergEffect 8 years ago
I believe I can make this work without too much trouble. Would it be acceptable to require the following code?
Where
this.router
references theAppRouter
. Let me know.