import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {SharedModule} from '../../shared/shared.module';
import {RouterModule, Routes} from '@angular/router';
import { DefaultComponent } from './presenter/default/default.component';
import {DefaultRouter} from './router/default-router';

const routes : Routes =[
  {
    path:'',
    component: DefaultRouter,
    children:[
      {
        path:'',
        component: DefaultComponent
      },
    ]
  }
]

@NgModule({
  declarations: [
    DefaultRouter,
    DefaultComponent],
  imports: [
    CommonModule,
    SharedModule,
    RouterModule.forChild(routes)
  ]
})

export class DefaultModule { }
