main.routes.ts 1.09 KB
Newer Older
1 2 3 4 5 6 7
import {
  Routes,
  RouterModule,
} from '@angular/router';

import {CamelCasePipe} from '../pipes/camelcase';
import Form3 from '../components/form-controls/form3';
8 9
//import ApplicantInfoFormComponent from '../components/form-controls/applicantinfo-form.component';
import StudentDataFieldsSelect from '../components/student-application-form/studentData-fields-select';
10 11 12 13 14 15 16
import StudentsList from '../components/students/students-list';
import Home from '../components/home';
import CourseFieldsSelect from '../components/student-application-form/course-fields-select';

export const MainRoutes: Routes = [
  { path: '', component: Home },
  { path: 'form3', component: Form3 },
17 18
//  { path: 'applicant-data-form', component: ApplicantInfoFormComponent },
  { path: 'applicant-data-form', component: StudentDataFieldsSelect },
19 20 21 22 23 24 25
  { path: 'students-list', component: StudentsList },
  { path: 'course-fields-select', component: CourseFieldsSelect }
];

export const MainDeclarations = [
  CamelCasePipe,
  Form3,
26
  //ApplicantInfoFormComponent,
27 28
  StudentsList,
  Home,
29 30
  CourseFieldsSelect,
  StudentDataFieldsSelect
31
];