File

src/app/my-groups/my-groups-routing.module.ts

import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { RouterLinks } from '../app.constant';
import { MyGroupsPage } from './my-groups.page';

const routes: Routes = [
    { path: '', component: MyGroupsPage },
    {
        path: 'create-edit-group',
        loadChildren: './create-edit-group/create-edit-group.module#CreateEditGroupPageModule'
    },
    {
        path: 'group-details',
        loadChildren: './group-details/group-details.module#GroupDetailsPageModule'
    },
    {
        path: 'add-member-to-group',
        loadChildren: './add-member-to-group/add-member-to-group.module#AddMemberToGroupPageModule'
    },
    {
        path: 'activity-details',
        loadChildren: './activity-details/activity-details.module#ActivityDetailsPageModule'
    },
];

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

results matching ""

    No results matching ""