diff options
Diffstat (limited to 'cds-ui/client/src/app/common/core/core.module.ts')
-rw-r--r-- | cds-ui/client/src/app/common/core/core.module.ts | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cds-ui/client/src/app/common/core/core.module.ts b/cds-ui/client/src/app/common/core/core.module.ts index 9b812a0b3..f72a8a27c 100644 --- a/cds-ui/client/src/app/common/core/core.module.ts +++ b/cds-ui/client/src/app/common/core/core.module.ts @@ -21,8 +21,14 @@ limitations under the License. import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; +import { StoreModule, Store } from '@ngrx/store'; +import { EffectsModule } from '@ngrx/effects'; +import { StoreRouterConnectingModule } from '@ngrx/router-store'; import { HttpClientModule } from '@angular/common/http'; +import { appReducers } from './store/reducers/app.reducer'; +import { BlueprintEffects } from './store/effects/blueprint.effects'; + import { ApiService } from './services/api.service'; // import { BlueprintService } from './services/blueprint.service'; @@ -31,6 +37,9 @@ import { ApiService } from './services/api.service'; ], imports: [ CommonModule, + StoreModule.forRoot(appReducers), + EffectsModule.forRoot([BlueprintEffects]), + StoreRouterConnectingModule.forRoot({stateKey: 'router'}), HttpClientModule ], providers : [ ApiService ] |