Added firebase
This commit is contained in:
@ -1,5 +1,7 @@
|
||||
import {BrowserModule} from '@angular/platform-browser';
|
||||
import {NgModule} from '@angular/core';
|
||||
import {AngularFireModule} from '@angular/fire';
|
||||
import {AngularFirestoreModule} from '@angular/fire/firestore';
|
||||
|
||||
import {AppComponent} from './app.component';
|
||||
import {BrowserAnimationsModule} from '@angular/platform-browser/animations';
|
||||
@ -7,6 +9,7 @@ import {MaterialModule} from './material.module';
|
||||
import {FormsModule} from '@angular/forms';
|
||||
import {TypewriterComponent} from './components/typewriter/typewriter.component';
|
||||
import {SlideShowComponent} from './components/slideShow/slideShow.component';
|
||||
import {environment} from '../environments/environment';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
@ -15,6 +18,8 @@ import {SlideShowComponent} from './components/slideShow/slideShow.component';
|
||||
TypewriterComponent
|
||||
],
|
||||
imports: [
|
||||
AngularFireModule.initializeApp(environment.firebase),
|
||||
AngularFirestoreModule,
|
||||
BrowserModule,
|
||||
BrowserAnimationsModule,
|
||||
FormsModule,
|
||||
@ -23,5 +28,4 @@ import {SlideShowComponent} from './components/slideShow/slideShow.component';
|
||||
providers: [],
|
||||
bootstrap: [AppComponent]
|
||||
})
|
||||
export class AppModule {
|
||||
}
|
||||
export class AppModule { }
|
||||
|
Reference in New Issue
Block a user