Skip to content

angular/angular-pwa-builds

main
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
pwa
 
 
 
 
 
 
 
 
 
 

Snapshot build of @angular/pwa

This repository is a snapshot of a commit on the original repository. The original code used to generate this is located at http://github.com/angular/angular-cli.

We do not accept PRs or Issues opened on this repository. You should not use this over a tested and released version of this package.

To test this snapshot in your own project, use

npm install git+https://github.com/angular/angular-pwa-builds.git

@angular/pwa

This is a schematic for adding Progress Web App support to an Angular app. Run the schematic with the Angular CLI:

ng add @angular/pwa

This makes a few changes to your project:

  1. Adds @angular/service-worker as a dependency.
  2. Enables service worker builds in the Angular CLI.
  3. Imports and registers the service worker in the app module.
  4. Adds a web app manifest.
  5. Updates the index.html file to link to the manifest and set theme colors.
  6. Adds required icons for the manifest.
  7. Creates a config file ngsw-config.json, specifying caching behaviors and other settings.

See Getting started with service workers for more information.

About

Build artifacts for @angular/pwa

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published