You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mohemm_srca/Mohem/src/app/vacation-rule/vacation-rule.module.ts

45 lines
1.0 KiB
TypeScript

import { HmgCommonModule } from './../hmg-common/hmg-common.module';
import { HomeComponent } from './home/home.component';
import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import { FormsModule } from '@angular/forms';
import { Routes, RouterModule } from '@angular/router';
import { IonicModule } from '@ionic/angular';
import { VacationRulePage } from './vacation-rule.page';
import { VacationTypeComponent } from './vacation-type/vacation-type.component';
const routes: Routes = [
{
path: '',
component: VacationRulePage,
children: [
{
path: 'home',
component: HomeComponent
},
{
path: 'vacation-type',
component: VacationTypeComponent
}
]
}
];
@NgModule({
imports: [
CommonModule,
FormsModule,
IonicModule,
HmgCommonModule,
RouterModule.forChild(routes)
],
declarations: [
VacationRulePage,
HomeComponent,
VacationTypeComponent
]
})
export class VacationRulePageModule { }