import {NgModule} from '@angular/core';
import {Routes, RouterModule} from '@angular/router';
import {SharedModule} from '../../shared/shared.module';

const routes: Routes = [

  { path: 'room', loadChildren: ()=> import('./ly-room/ly-room.module').then(m => m.LyRoomModule) },
  { path: 'layout', loadChildren: ()=> import('./std-layout/std-layout.module').then(m => m.StdLayoutModule) },
  { path: 'group', loadChildren: ()=> import('./ly-group/ly-group.module').then(m => m.LyGroupModule) },
];

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

export class LyModule {
}
