Last active
June 4, 2019 07:35
-
-
Save jonathanwoahn/c88c38abbbf6b8c02d462d0b81e0eb05 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 { BrowserAnimationsModule } from '@angular/platform-browser/animations'; | |
import { AppComponent } from './app.component'; | |
import { FlexLayoutModule } from '@angular/flex-layout'; | |
import { MatCardModule, MatInputModule, MatListModule } from '@angular/material'; | |
import { DynamicNgrxModule, DynamicStoreConfig } from 'dynamic-ngrx'; | |
const config: DynamicStoreConfig = { | |
entities: [{ entity: 'Todo' }], | |
providers: [], | |
}; | |
export interface Todo { | |
id: string; | |
text: string; | |
} | |
@NgModule({ | |
declarations: [ | |
AppComponent | |
], | |
imports: [ | |
BrowserModule, | |
BrowserAnimationsModule, | |
FlexLayoutModule, | |
MatCardModule, | |
MatInputModule, | |
MatListModule, | |
DynamicNgrxModule.forRoot(config), | |
], | |
providers: [], | |
bootstrap: [AppComponent] | |
}) | |
export class AppModule { } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment