Files
doneit-web/src/app/shared/chat/new-group/new-group-routing.module.ts
T

30 lines
786 B
TypeScript
Raw Normal View History

2021-03-16 14:33:36 +01:00
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { NewGroupPage } from './new-group.page';
const routes: Routes = [
{
path: '',
component: NewGroupPage
},
{
path: 'contacts',
loadChildren: () => import('./contacts/contacts.module').then( m => m.ContactsPageModule)
},
{
path: 'group-chat',
loadChildren: () => import('./group-chat/group-chat.module').then( m => m.GroupChatPageModule)
},
{
path: 'group-contacts',
2021-03-04 18:50:26 +01:00
loadChildren: () => import('./group-contacts/group-contacts.module').then( m => m.GroupContactsPageModule)
}
2021-03-16 14:33:36 +01:00
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})