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],
|
|
|
|
|
})
|