mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
71 lines
2.1 KiB
TypeScript
71 lines
2.1 KiB
TypeScript
import { NgModule } from '@angular/core';
|
|
import { PreloadAllModules, RouterModule, Routes } from '@angular/router';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
loadChildren: () => import('./index/index.module').then(m => m.IndexPageModule)
|
|
},
|
|
{
|
|
path: '',
|
|
loadChildren: () => import('./home/home.module').then( m => m.HomePageModule)
|
|
},
|
|
{
|
|
path: 'chat',
|
|
loadChildren: () => import('./pages/chat/chat.module').then( m => m.ChatPageModule)
|
|
},
|
|
{
|
|
path: 'publications',
|
|
loadChildren: () => import('./pages/publications/publications.module').then( m => m.PublicationsPageModule)
|
|
},
|
|
{
|
|
path: 'header',
|
|
loadChildren: () => import('./shared/header/header.module').then( m => m.HeaderPageModule)
|
|
},
|
|
{
|
|
path: 'header',
|
|
loadChildren: () => import('./shared/header/header.module').then( m => m.HeaderPageModule)
|
|
},
|
|
{
|
|
path: 'header-pr',
|
|
loadChildren: () => import('./shared/header-pr/header-pr.module').then( m => m.HeaderPrPageModule)
|
|
},
|
|
{
|
|
path: 'btn-seguinte',
|
|
loadChildren: () => import('./shared/btn-seguinte/btn-seguinte.module').then( m => m.BtnSeguintePageModule)
|
|
},
|
|
{
|
|
path: 'btn-modal-dismiss',
|
|
loadChildren: () => import('./shared/btn-modal-dismiss/btn-modal-dismiss.module').then( m => m.BtnModalDismissPageModule)
|
|
},
|
|
|
|
|
|
/* {
|
|
path: 'cal-modal',
|
|
loadChildren: () => import('./pages/cal-modal/cal-modal.module').then( m => m.CalModalPageModule)
|
|
}, */
|
|
/* {
|
|
path: 'events',
|
|
loadChildren: () => import('./pages/events/events.module').then( m => m.EventsPageModule)
|
|
}, */
|
|
|
|
/*
|
|
{
|
|
path: 'gabinete-digital-menu',
|
|
loadChildren: () => import('./pages/gabinete-digital-menu/gabinete-digital-menu.module').then( m => m.GabineteDigitalMenuPageModule)
|
|
},
|
|
|
|
|
|
{
|
|
path: 'view-event',
|
|
loadChildren: () => import('./pages/view-event/view-event.module').then( m => m.ViewEventPageModule)
|
|
}, */
|
|
|
|
];
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forRoot(routes, { preloadingStrategy: PreloadAllModules })
|
|
],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AppRoutingModule {}
|