-
-
Save gavilanch/dfc82f34e154acdbc59ce7af9e6ba61c to your computer and use it in GitHub Desktop.
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 { AngularFireModule } from '@angular/fire'; // Firebase config | |
import { AngularFirestoreModule } from '@angular/fire/firestore'; // For Cloud Firestore | |
import { environment } from 'src/environments/environment'; // Config | |
import { AppRoutingModule } from './app-routing.module'; | |
import { AppComponent } from './app.component'; | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ | |
BrowserModule, | |
AngularFireModule.initializeApp(environment.firebaseConfig), // Import firebase | |
AngularFirestoreModule, // Import firestore | |
AppRoutingModule | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment