generate service-worker
Command
ng generate service-worker
Pass this schematic to the "run" command to create a service worker
Options
project
The name of the project.
Value Type
string
target
The target to apply service worker to.
Value Type
string
Defaultbuild
Jump to details