Last active
October 1, 2017 21:00
-
-
Save webmaxru/3b0428f2afb93ba389dab80b7a6e99e5 to your computer and use it in GitHub Desktop.
ngsw - registration - app.module.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
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