GaryB96
GaryB96

Reputation: 391

how to use the angular pwa schematics library

I see that a new library has landed or at least I just became acquainted with it. The repro steps in this issue refer to @angular/pwa but I can't find any documentation for that (yet!). Does anyone know the purpose and features of this library for an Angular CLI user? Or is the functionality transparent? I have been trying service workers by hand.

Upvotes: 1

Views: 824

Answers (1)

sdumont
sdumont

Reputation: 171

It is a new schematic adding PWA capabilities to an angular app, to use it, just run ng add @angular/pwa --project <your-project-name> and it will create all the required files and register the service worker.

You can find more info in the 2018 ng-conf keynote

Upvotes: 2

Related Questions