This commit is contained in:
Yiğit FINDIKLI 2021-12-24 10:59:22 +03:00
parent 41a20dee68
commit 060fb2c42d
2 changed files with 5 additions and 9 deletions

View File

@ -24,10 +24,6 @@ import {FloatLabelDemoComponent} from './demo/view/floatlabeldemo.component';
import {InvalidStateDemoComponent} from './demo/view/invalidstatedemo.component'; import {InvalidStateDemoComponent} from './demo/view/invalidstatedemo.component';
import {AppTimelineDemoComponent} from './pages/app.timelinedemo.component'; import {AppTimelineDemoComponent} from './pages/app.timelinedemo.component';
import {IconsDemoComponent} from './demo/view/iconsdemo.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({ @NgModule({
imports: [ imports: [
RouterModule.forRoot([ RouterModule.forRoot([

View File

@ -3,9 +3,9 @@ import { CommonModule } from '@angular/common';
import { RouterModule, Routes } from '@angular/router'; import { RouterModule, Routes } from '@angular/router';
import { PaymentDemoComponent } from './paymentdemo.component'; import { PaymentDemoComponent } from './paymentdemo.component';
import {SeatDemoComponent} from './seatdemo.component'; import { SeatDemoComponent } from './seatdemo.component';
import {PersonalDemoComponent} from './personaldemo.component'; import { PersonalDemoComponent } from './personaldemo.component';
import {ConfirmationDemoComponent} from './confirmationdemo.component'; import { ConfirmationDemoComponent } from './confirmationdemo.component';
import { MenusDemoComponent } from '../menusdemo.component'; import { MenusDemoComponent } from '../menusdemo.component';
@NgModule({ @NgModule({
@ -13,13 +13,13 @@ import { MenusDemoComponent } from '../menusdemo.component';
imports: [ imports: [
CommonModule, CommonModule,
RouterModule.forChild([ RouterModule.forChild([
{path:'',component: MenusDemoComponent, children:[ {path:'',component: MenusDemoComponent, children:[
{path:'', redirectTo: 'personal', pathMatch: 'full'}, {path:'', redirectTo: 'personal', pathMatch: 'full'},
{path: 'personal', component: PersonalDemoComponent}, {path: 'personal', component: PersonalDemoComponent},
{path: 'confirmation', component: ConfirmationDemoComponent}, {path: 'confirmation', component: ConfirmationDemoComponent},
{path: 'seat', component: SeatDemoComponent}, {path: 'seat', component: SeatDemoComponent},
{path: 'payment', component: PaymentDemoComponent} {path: 'payment', component: PaymentDemoComponent}
]} ]}
]) ])
], ],
exports: [RouterModule] exports: [RouterModule]