Added material & ngrx
This commit is contained in:
@@ -1,14 +1,25 @@
|
||||
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
||||
import { BrowserModule } from '@angular/platform-browser';
|
||||
import { EffectsModule } from '@ngrx/effects';
|
||||
import { NgModule } from '@angular/core';
|
||||
import { StoreModule } from '@ngrx/store';
|
||||
|
||||
import { AppComponent } from './app.component';
|
||||
import { reducers, metaReducers } from './reducers';
|
||||
import { CommentCardComponent } from './comment-card/comment-card.component';
|
||||
|
||||
@NgModule({
|
||||
declarations: [
|
||||
AppComponent
|
||||
],
|
||||
imports: [
|
||||
BrowserModule
|
||||
BrowserModule,
|
||||
StoreModule.forRoot(reducers, {
|
||||
metaReducers
|
||||
}),
|
||||
EffectsModule.forRoot([]),
|
||||
BrowserAnimationsModule,
|
||||
MatToolbarModule
|
||||
],
|
||||
providers: [],
|
||||
bootstrap: [AppComponent]
|
||||
|
||||
Reference in New Issue
Block a user