import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
// Student
import { StudentComponent } from './student/student.component';

const routes: Routes = [
  {
    path: '',
    component: StudentComponent,
    data: {
     title: 'Student Enrolment'
    }
    // children: [{
    //   path: 'student',
    //   component: StudentComponent,
    //   data : {
    //       title: 'Student Enrolment'
    //   }
    // }]
  }
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class EnrolmentRoutingModule {}
