2020-10-30 15:22:35 +01:00
|
|
|
import { NgModule } from '@angular/core';
|
|
|
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
|
|
|
|
|
|
|
|
import { ChatPage } from './chat.page';
|
|
|
|
|
|
|
|
|
|
const routes: Routes = [
|
|
|
|
|
{
|
|
|
|
|
path: '',
|
|
|
|
|
component: ChatPage
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
path: 'conversation',
|
|
|
|
|
loadChildren: () => import('./conversation/conversation.module').then( m => m.ConversationPageModule)
|
2020-09-10 09:48:37 +01:00
|
|
|
},
|
2020-10-30 15:22:35 +01:00
|
|
|
{
|
|
|
|
|
path: 'newchat',
|
2020-09-10 09:48:37 +01:00
|
|
|
loadChildren: () => import('./newchat/newchat.module').then( m => m.NewchatPageModule)
|
|
|
|
|
}
|
2020-10-30 15:22:35 +01:00
|
|
|
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
@NgModule({
|
|
|
|
|
imports: [RouterModule.forChild(routes)],
|
|
|
|
|
exports: [RouterModule],
|
|
|
|
|
})
|