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

const routes: Routes = [
  {path: 'school', loadChildren: () => import('./school/school.conf.module').then(m => m.ConfSchoolModule)},
  {path: 'param', loadChildren: () => import('./param/param.conf.module').then(m => m.ConfParamModule)},
  {path: 'range', loadChildren: () => import('./range/range.conf.module').then(m => m.ConfRangeModule)},
  {path: 'panel', loadChildren: () => import('./panel/panel.conf.module').then(m => m.ConfPanelModule)},
  {path: 'optr', loadChildren: () => import('./optr/optr.conf.module').then(m => m.ConfOptrModule)},
  {path: 'discipline', loadChildren: () => import('./discipline/discipline.conf.module').then(m => m.ConfDisciplineModule)},
  {path: 'remark', loadChildren: () => import('./cf-remark/cf-remark.module').then(m => m.CfRemarkModule)}
];

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

export class ArtConfModule {
}
