LiMeii / angular-performance

demo code for improving angular project performance

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AngularPerformance

This project was generated with Angular CLI version 8.2.2.

demo code for improving angular project performance, here some performance improving tips:

  • no 'ng eject' in angular6+, then how to config customer webpack configuration.
  • tree-shaking
  • tree-shakeable providers
  • ahead-of-Time (AoT) Compilation
  • compression
  • lazy loading of resources
  • preloading resources
  • caching
  • change detection
    • ChangeDetectionStrategy.OnPush
    • run outside angular
  • use pure pipes

Here is the series of blog:

usage

Download to your local

Run 'npm install'

Run 'npm run start'

About

demo code for improving angular project performance


Languages

Language:TypeScript 74.4%Language:JavaScript 17.7%Language:HTML 4.3%Language:CSS 3.6%