diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index c377566..b83267a 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -24,10 +24,6 @@ import {FloatLabelDemoComponent} from './demo/view/floatlabeldemo.component'; import {InvalidStateDemoComponent} from './demo/view/invalidstatedemo.component'; import {AppTimelineDemoComponent} from './pages/app.timelinedemo.component'; import {IconsDemoComponent} from './demo/view/iconsdemo.component'; -import {SeatDemoComponent} from './demo/view/menu/seatdemo.component'; -import {PersonalDemoComponent} from './demo/view/menu/personaldemo.component'; -import {ConfirmationDemoComponent} from './demo/view/menu/confirmationdemo.component'; -import {PaymentDemoComponent} from './demo/view/menu/paymentdemo.component'; @NgModule({ imports: [ RouterModule.forRoot([ diff --git a/src/app/demo/view/menu/menudemo.module.ts b/src/app/demo/view/menu/menudemo.module.ts index 9c87cd1..0312a4b 100644 --- a/src/app/demo/view/menu/menudemo.module.ts +++ b/src/app/demo/view/menu/menudemo.module.ts @@ -3,9 +3,9 @@ import { CommonModule } from '@angular/common'; import { RouterModule, Routes } from '@angular/router'; import { PaymentDemoComponent } from './paymentdemo.component'; -import {SeatDemoComponent} from './seatdemo.component'; -import {PersonalDemoComponent} from './personaldemo.component'; -import {ConfirmationDemoComponent} from './confirmationdemo.component'; +import { SeatDemoComponent } from './seatdemo.component'; +import { PersonalDemoComponent } from './personaldemo.component'; +import { ConfirmationDemoComponent } from './confirmationdemo.component'; import { MenusDemoComponent } from '../menusdemo.component'; @NgModule({ @@ -13,13 +13,13 @@ import { MenusDemoComponent } from '../menusdemo.component'; imports: [ CommonModule, RouterModule.forChild([ - {path:'',component: MenusDemoComponent, children:[ + {path:'',component: MenusDemoComponent, children:[ {path:'', redirectTo: 'personal', pathMatch: 'full'}, {path: 'personal', component: PersonalDemoComponent}, {path: 'confirmation', component: ConfirmationDemoComponent}, {path: 'seat', component: SeatDemoComponent}, {path: 'payment', component: PaymentDemoComponent} - ]} + ]} ]) ], exports: [RouterModule]