angular-lazy-load-demo

Lazy loading Angular components

Stars
32

angular-lazy-load-demo

Lazy loaded component demo.

You can learn more from this article here.

Quick Start

Angular 9 is required.

  1. Clone this repo git clone [email protected]:johnpapa/angular-lazy-load-demo.git
  2. Run cd angular-lazy-load-demo
  3. Run ng serve for a dev server.
  4. Navigate to http://localhost:4200/

Learn More

These examples should be able to help you get started with lazy loading components dynamically, with or without children. If you want to learn more, check out these resources:

  1. Dynamic Component Loader
  2. 7 new features in Angular 9.
  3. VS Code editor
  4. Angular Essentials Extension for VS Code
  5. Angular Language Service for VS Code
  6. Angular Lazy Load Demo source code