title | toc |
---|---|
Lazy Loading with RouterProvider |
false |
This example demonstrates how to lazily load individual route elements on demand route.lazy()
and dynamic import()
. Using this technique, pages that are not required on the home page can be split out into separate bundles, thereby decreasing load time on the initial page and improving performance.
Open this example on StackBlitz: