Search⌘ K
AI Features

Lazy Loading of Routes

Explore how to use Angular's lazy loading for routes to reduce initial bundle size and improve application performance. Understand how loadChildren and canLoad guard asynchronously load modules only when authorized or needed. Learn to configure preload strategies and analyze network requests in real-time for efficient SPA navigation.

Let’s go inside our project and run npm start on the command line to see what all files it builds.

npm start
...