You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw strange behaviour of aurelia router when i was using router with one child router and both of them use redirect parameter in router configuration. I have prepared forked repository of skeleton-navigation repository where my problem is implemented: https://github.com/milunka/redirect-problem
For quick review, this is what i am talking about: app.js - this viewmodel has defined only one route where empty route is redirecting to defined route
I saw strange behaviour of aurelia router when i was using router with one child router and both of them use redirect parameter in router configuration. I have prepared forked repository of skeleton-navigation repository where my problem is implemented:
https://github.com/milunka/redirect-problem
For quick review, this is what i am talking about:
app.js - this viewmodel has defined only one route where empty route is redirecting to defined route
appChild.js - in this viewmodel is again empty route which redirects to defined route
After i try to access application root (http://localhost:9000) i receive error Illegal module name "", same error is displayed when i try to access route after first redirect (http://localhost:9000/#child). Only url which works is whole route to welcome page (http://localhost:9000/#child/welcome).
I think that both url (http://localhost:9000 and http://localhost:9000/#child) may works, but maybe i just didn't understand redirect parametr in router configuration.
The text was updated successfully, but these errors were encountered: