Skip to content

Instantly share code, notes, and snippets.

@wesleygrimes
Last active May 31, 2018 15:21
Show Gist options
  • Save wesleygrimes/a99ff7b248b4063e88dcb5acae77069d to your computer and use it in GitHub Desktop.
Save wesleygrimes/a99ff7b248b4063e88dcb5acae77069d to your computer and use it in GitHub Desktop.
Root Store Module
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