Skip to content

Instantly share code, notes, and snippets.

@webmaxru
Last active October 1, 2017 21:00
Show Gist options
  • Save webmaxru/3b0428f2afb93ba389dab80b7a6e99e5 to your computer and use it in GitHub Desktop.
Save webmaxru/3b0428f2afb93ba389dab80b7a6e99e5 to your computer and use it in GitHub Desktop.
ngsw - registration - app.module.ts
...
import { ServiceWorkerModule } from '@angular/service-worker'
@NgModule({
imports: [
...
ServiceWorkerModule.register('/ngsw-worker.js')
]
...
})
export class AppModule { }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment