Last active
November 18, 2019 07:15
-
-
Save prashantbirajdar999/db480a01c8cebb5ad25a2e888cd878a8 to your computer and use it in GitHub Desktop.
How to add fire store module to the angular app module file
This file contains hidden or 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 { environment } from '../environments/environment'; | |
import { AngularFireModule } from '@angular/fire'; | |
import { AngularFireDatabaseModule } from '@angular/fire/database'; | |
@NgModule({ | |
declarations: [], | |
imports: [AngularFireModule.initializeApp(environment.firebase), | |
AngularFireDatabaseModule, | |
SharedModule.forRoot() | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment