@angular/pwa

18.0.1 • Public • Published

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

/@angular/pwa/

    Package Sidebar

    Install

    npm i @angular/pwa

    Weekly Downloads

    81,164

    Version

    18.0.1

    License

    MIT

    Unpacked Size

    58.1 kB

    Total Files

    18

    Last publish

    Collaborators

    • angular
    • google-wombot