import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { SharedModule } from '../../../shared/shared.module';
import { SkConfComponent } from './sk-conf.component';


const routes: Routes = [
  { path: '',  component: SkConfComponent, children: [
      { path: 'agent', loadChildren: './agent/agent.conf.module#AgentConfModule' },
      { path: 'aspect', loadChildren: './aspect/aspect.conf.module#ConfAspectModule' },
      { path: 'subject', loadChildren: './subject/subject.conf.module#ConfSubjectModule' },
      { path: 'fee', loadChildren: './fee/fee.conf.module#ConfFeeModule' },
      { path: 'material', loadChildren: './material/material.conf.module#ConfMaterialModule' }
    ]
  }
];

@NgModule({
  imports: [
    SharedModule,
    RouterModule.forChild(routes)
  ],
  entryComponents: [],
  declarations: [SkConfComponent],
  exports: [
    RouterModule
  ]
})

export class ArtConfModule {
}
