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.
39 lines
839 B
TypeScript
39 lines
839 B
TypeScript
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 { AttendanceTrackingPage } from './attendance-tracking.page';
|
|
import {HomeComponent} from './home/home.component'
|
|
import { HmgCommonModule } from "./../hmg-common/hmg-common.module";
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: AttendanceTrackingPage,
|
|
children:[
|
|
{
|
|
path: 'home',
|
|
component:HomeComponent
|
|
}
|
|
]
|
|
},
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
imports: [
|
|
CommonModule,
|
|
FormsModule,
|
|
IonicModule,
|
|
HmgCommonModule,
|
|
RouterModule.forChild(routes)
|
|
],
|
|
declarations: [AttendanceTrackingPage,HomeComponent]
|
|
})
|
|
export class AttendanceTrackingPageModule {}
|