As per the official guidelines, I attempted to create a PWA that functions in offline mode using pure PWA without angular-cli.
However, despite following the official instructions, I was unable to make it work offline. The document in question can be found here: https://angular.io/guide/service-worker-getting-started#getting-started-with-service-workers
My angular-cli version is @angular/[email protected]
You can view my code at https://github.com/unnhao/pwa-test