@angular/pwa
PWA schematics for Angular
npm downloads npm version npm license
@angular/pwaSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on @angular/pwa's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of @angular/pwa](https://npm-compare.com/img/npm-trend/THREE_YEARS/@angular/pwa.png)](https://npm-compare.com/@angular/pwa#timeRange=THREE_YEARS)
Cumulative GitHub Star Trend
🌟 Show GitHub stars trend chart on @angular/pwa's README.md, just copy the code below.
## GitHub Stars Trend
[![GitHub Stars Trend of @angular/pwa](https://npm-compare.com/img/github-trend/@angular/pwa.png)](https://npm-compare.com/@angular/pwa)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
@angular/pwa120,60527,02660.3 kB2879 hours agoMIT
README for @angular/pwa

@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:

  1. Adds @angular/service-worker as a dependency to your project.
  2. Enables service worker builds in the Angular CLI.
  3. Imports and registers the service worker in the application module.
  4. Updates the index.html file to inlclude a link to add the manifest.webmanifest file.
  5. Installs icon files to support the installed Progressive Web App (PWA).
  6. Creates the service worker configuration file called ngsw-config.json, specifying caching behaviors and other settings.

See Getting started with service workers for more information.