diff --git a/aio/content/guide/service-worker-getting-started.md b/aio/content/guide/service-worker-getting-started.md index ecebada1aa..45d3c3b2d7 100644 --- a/aio/content/guide/service-worker-getting-started.md +++ b/aio/content/guide/service-worker-getting-started.md @@ -23,10 +23,14 @@ ng add @angular/pwa --project *project-name* The above command completes the following actions: -1. Adds the `@angular/service-worker` package. +1. Adds the `@angular/service-worker` package to your project. 2. Enables service worker build support in the CLI. 3. Imports and registers the service worker in the app module. -4. Creates the service worker configuration file called `ngsw-config.json` which specifies the caching behaviors and other settings. +4. Updates the `index.html` file: + * Includes a link to add the `manifest.json` file. + * Adds meta tags for `theme-color`. +5. Installs icon files to support the installed Progressive Web App (PWA). +6. Creates the service worker configuration file called [`ngsw-config.json`](/guide/service-worker-config), which specifies the caching behaviors and other settings. Now, build the project: