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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Difference between lazy loaded routes and normal loaded routes #1593
Labels
Comments
This works in the latest release, please update. |
Super. I updated to I noticed a different problem though. If I add in this to
it doesn't work anymore. This is the case for both versions (normal loading and lazy loading). (I updated the stackblitz examples) |
works without path: ['', 'child'], |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
馃悰 Bug Report
Created a new app with a router + child router with the following routes:
main.ts
my-app.ts
home-page.ts
So when the app opens in the browser for the first time the url is:
/#/home/child
.However, if the routes are lazily loaded:
my-app.ts
home-page.ts
The url is this
/#
when the app is loaded for the first time and the child route is not loaded.Repro links:
Normal loaded routes: https://stackblitz.com/edit/au2-router-p1wmzl?file=src/routes/home-page.ts
Lazy loaded routes: https://stackblitz.com/edit/au2-router-gxy16b?file=src/routes/home-page.ts
The text was updated successfully, but these errors were encountered: