mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 12:37:53 +00:00
52 lines
1.6 KiB
TypeScript
52 lines
1.6 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|
import { ChatPage } from './pages/chat/chat.page';
|
|
import { MessagesPage } from './pages/chat/messages/messages.page';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
loadChildren: () => import('./index/index.module').then(m => m.IndexPageModule)
|
|
},
|
|
{
|
|
path: '',
|
|
loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)
|
|
},
|
|
{
|
|
path: 'empty-chat',
|
|
loadChildren: () => import('./shared/chat/empty-chat/empty-chat.module').then( m => m.EmptyChatPageModule)
|
|
},
|
|
{
|
|
path: 'btn-criar',
|
|
loadChildren: () => import('./shared/buttons/btn-criar/btn-criar.module').then( m => m.BtnCriarPageModule)
|
|
},
|
|
{
|
|
path: 'btn-adicionar',
|
|
loadChildren: () => import('./shared/buttons/btn-adicionar/btn-adicionar.module').then( m => m.BtnAdicionarPageModule)
|
|
},
|
|
{
|
|
path: 'empty-container',
|
|
loadChildren: () => import('./shared/empty-container/empty-container.module').then( m => m.EmptyContainerPageModule)
|
|
},
|
|
{
|
|
path: 'events-to-approve',
|
|
loadChildren: () => import('./shared/gabinete-digital/events-to-approve/events-to-approve.module').then( m => m.EventsToApprovePageModule)
|
|
},
|
|
{
|
|
path: 'expedients',
|
|
loadChildren: () => import('./shared/gabinete-digital/expedients/expedients.module').then( m => m.ExpedientsPageModule)
|
|
},
|
|
|
|
/* {
|
|
path: 'chat',
|
|
component: ChatPage
|
|
} */
|
|
|
|
];
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
|
],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AppRoutingModule {}
|