johnpapa / angular-lazy-load-demo

Lazy loading Angular components

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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 git@github.com: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/

lazy load

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

About

Lazy loading Angular components


Languages

Language:TypeScript 78.8%Language:JavaScript 17.6%Language:HTML 2.8%Language:CSS 0.8%