-
Notifications
You must be signed in to change notification settings - Fork 6.8k
chore(dev-app): add lazy loading #15522
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's awesome. 🎉
Getting a |
I got the same today when I wanted to switch the dev-app to Bazel with AOT compilation. Even though it didn't use lazy-loading, I hit the same issue. That's pretty weird. |
I probably missed a module dependency in #15498, I'll add the fix to this PR |
It looks like the issue was due to the router-outlet being outside the tree where the |
This reverts commit 44f185b.
* Revert "Revert "chore(dev-app): add lazy loading (#15522)"" This reverts commit 44f185b. * build: serve ivy dev-app with lazy loading * Updates the Ivy script/build pipeline to support lazy-loading with the dev-app. * Removes duplicate lazy routes (otherwise causes error within rollup) * Ensures Ivy Angular install script ensures clean Ivy packages are installed * Ensures Ivy `build.sh` script works if Gulp is not installed globally.
* dev-app: add lazy loading * fix snackbar RTL * fix lint * fix aot build
This reverts commit 1dce080.
* Revert "Revert "chore(dev-app): add lazy loading (angular#15522)"" This reverts commit 44f185b. * build: serve ivy dev-app with lazy loading * Updates the Ivy script/build pipeline to support lazy-loading with the dev-app. * Removes duplicate lazy routes (otherwise causes error within rollup) * Ensures Ivy Angular install script ensures clean Ivy packages are installed * Ensures Ivy `build.sh` script works if Gulp is not installed globally.
This reverts commit 1dce080.
* Revert "Revert "chore(dev-app): add lazy loading (angular#15522)"" This reverts commit 44f185b. * build: serve ivy dev-app with lazy loading * Updates the Ivy script/build pipeline to support lazy-loading with the dev-app. * Removes duplicate lazy routes (otherwise causes error within rollup) * Ensures Ivy Angular install script ensures clean Ivy packages are installed * Ensures Ivy `build.sh` script works if Gulp is not installed globally.
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
demo: https://mmalerba-demo1.firebaseapp.com/