@angular/pwa
This is a schematic for adding Progressive Web App support to an Angular project. Run the schematic with the Angular CLI:
ng add @angular/pwa --project <project-name>
Executing the command mentioned above will perform the following actions:
@angular/service-worker
as a dependency to your project.index.html
file:
theme-color
.ngsw-config.json
, specifying caching behaviors and other settings.See Getting started with service workers for more information.