File

src/app/curriculum-courses/curriculum-courses-routing.module.ts

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { RouterLinks } from '../app.constant';
import { CurriculumCoursesPage } from './curriculum-courses.page';

const routes: Routes = [
    {
        path: '',
        component: CurriculumCoursesPage
    },
    {
        path: 'chapter-details',
        loadChildren: './chapter-details/chapter-details.module#ChapterDetailsPageModule'
    },
];

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

results matching ""

    No results matching ""