fixed target

This commit is contained in:
snoop 2018-03-14 17:11:24 +09:00
parent 2d1c5c0e11
commit 4ca008ec39
3 changed files with 29 additions and 1 deletions

View File

@ -4,7 +4,7 @@ import {
ActionReducerMap, ActionReducerMap,
} from '@ngrx/store'; } from '@ngrx/store';
import { StateSelector } from 'packages/commons/util/ngrx/store'; import { StateSelector } from 'packages/core/ngrx/store';
import { MODULE } from '../target.constant'; import { MODULE } from '../target.constant';

View File

@ -0,0 +1,24 @@
import { NgModule } from '@angular/core';
import { StoreModule } from '@ngrx/store';
import { StoreDevtoolsModule } from '@ngrx/store-devtools';
import {
StoreRouterConnectingModule,
RouterStateSerializer,
} from '@ngrx/router-store';
import { EffectsModule } from '@ngrx/effects';
import { combineReducers, ActionReducer, ActionReducerMap, MetaReducer } from '@ngrx/store';
import {
REDUCERS,
EFFECTS,
} from './store';
import { MODULE } from './target.constant';
@NgModule({
imports: [
StoreModule.forFeature(MODULE.name, REDUCERS),
EffectsModule.forFeature(EFFECTS),
],
})
export class TargetStoreModule { }

View File

@ -4,6 +4,7 @@ import { MaterialModule } from 'app/commons/ui/material/material.module';
import { InfoTableModule } from 'app/commons/component/info-table/info-table.module'; import { InfoTableModule } from 'app/commons/component/info-table/info-table.module';
import { COMPONENTS } from './component'; import { COMPONENTS } from './component';
import { SERVICES } from './service';
@NgModule({ @NgModule({
imports: [ imports: [
@ -17,5 +18,8 @@ import { COMPONENTS } from './component';
exports: [ exports: [
COMPONENTS, COMPONENTS,
], ],
providers: [
SERVICES,
],
}) })
export class TargetModule { } export class TargetModule { }