Last active
May 31, 2018 15:21
-
-
Save wesleygrimes/a99ff7b248b4063e88dcb5acae77069d to your computer and use it in GitHub Desktop.
Root Store Module
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 { CommonModule } from '@angular/common'; | |
import { NgModule } from '@angular/core'; | |
import { EffectsModule } from '@ngrx/effects'; | |
import { StoreModule } from '@ngrx/store'; | |
import { MyFeatureStoreModule } from './my-feature-store/'; | |
import { MyOtherFeatureStoreModule } from './my-other-feature-store/'; | |
@NgModule({ | |
imports: [ | |
CommonModule, | |
MyFeatureStoreModule, | |
MyOtherFeatureStoreModule, | |
StoreModule.forRoot({}), | |
EffectsModule.forRoot([]) | |
], | |
declarations: [] | |
}) | |
export class RootStoreModule {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment