Files
doneit-web/src/app/pages/chat/chat-routing.module.ts
T

26 lines
618 B
TypeScript
Raw Normal View History

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
},
{
path: 'newchat',
2020-09-10 09:48:37 +01:00
loadChildren: () => import('./newchat/newchat.module').then( m => m.NewchatPageModule)
}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})