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

50 lines
1.3 KiB
TypeScript
Raw Normal View History

2020-08-05 15:39:16 +01:00
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { HomePage } from './home.page';
const routes: Routes = [
{
path: 'home',
component: HomePage,
children: [
{
path: '',
loadChildren: ()=> import('../pages/feed/feed.module').then(m => m.FeedPageModule)
},
{
path: 'feed',
loadChildren: ()=> import('../pages/feed/feed.module').then(m => m.FeedPageModule)
},
{
path: 'search',
loadChildren: ()=> import('../pages/search/search.module').then(m => m.SearchPageModule)
},
{
path: 'agenda',
loadChildren: ()=> import('../pages/agenda/agenda.module').then(m => m.AgendaPageModule)
},
{
path: 'gabinete-digital',
loadChildren: ()=> import('../pages/gabinete-digital/gabinete-digital.module').then(m => m.GabineteDigitalPageModule)
},
2020-08-11 04:11:42 +01:00
/* PROVISORIO */
{
path: 'view-event',
loadChildren: ()=> import('../pages/view-event/view-event.module').then(m => m.ViewEventPageModule)
},
2020-08-05 15:39:16 +01:00
]
}/* ,
{
path: '',
redirectTo: 'home/feed',
pathMatch: 'full'
} */
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class HomePageRoutingModule {}