
Angular Cookbook
By :

A PWA involves a few interesting components, two of which are the service worker and the web manifest file. The service worker helps to cache the static resources and caching requests, and the web manifest file contains information about app icons, the theme color of the app, and so on. In this recipe, we'll convert an existing Angular application to a PWA. The principles apply to a fresh Angular app as well if you were to create it from scratch. For the sake of the recipe, we're going to convert an existing Angular app. We'll see what changed in our Angular web app and how the @angular/pwa
package converts it into a PWA. Also, how it helps to cache the static resources.
The project that we are going to work with resides in chapter13/start_here/angular-pwa-app
inside the cloned repository:
npm install
to...