mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-18 20:47:54 +00:00
46 lines
1.2 KiB
TypeScript
46 lines
1.2 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: 'viewer',
|
|
loadChildren: () => import('./pages/events/attachments/viewer/viewer.module').then( m => m.ViewerPageModule)
|
|
},
|
|
/* {
|
|
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 {}
|