This commit is contained in:
tiago.kayaya
2021-02-10 11:31:34 +01:00
parent 1409250bab
commit c445a61f59
8 changed files with 108 additions and 15 deletions
@@ -1,17 +1,21 @@
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { EventListPage } from './event-list.page';
const routes: Routes = [
{
path: '',
component: EventListPage
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { EventListPage } from './event-list.page';
const routes: Routes = [
{
path: '',
component: EventListPage
},
{
path: 'approve-event',
loadChildren: () => import('./approve-event/approve-event.module').then( m => m.ApproveEventPageModule)
];
}
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class EventListPageRoutingModule {}
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})