ng new project0 ng add @angular/pwa –project project0 ng build –prod cd project0 && http-server -p 8080 -c-1 dist/project0/

curl http://127.0.0.1:8080/ngsw/state chrome://serviceworker-internals/

1
2

<code class="line-numbers">ng new my-app --routing