Created
July 8, 2018 12:51
-
-
Save rahulsahay19/dcfbd0f4018138124e3d697048bfecc6 to your computer and use it in GitHub Desktop.
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 { BrowserModule } from '@angular/platform-browser'; | |
import { NgModule } from '@angular/core'; | |
import { AppComponent } from './app.component'; | |
import { ServiceWorkerModule } from '@angular/service-worker'; | |
import { environment } from '../environments/environment'; | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ | |
BrowserModule, | |
ServiceWorkerModule.register('/ngsw-worker.js', { enabled: environment.production }) | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment