mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-20 05:16:07 +00:00
29 lines
724 B
TypeScript
29 lines
724 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { IndexGuard } from '../guards/index.guard';
|
|
import { IndexPage } from './index.page';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: IndexPage,
|
|
/* canActivate: [IndexGuard], */
|
|
children: [
|
|
/*{
|
|
path: '',
|
|
loadChildren: ()=> import('../pages/welcome/welcome.module').then(m => m.WelcomePageModule)
|
|
}, */
|
|
{
|
|
path: '',
|
|
loadChildren: ()=> import('../pages/login/login.module').then(m => m.LoginPageModule)
|
|
},
|
|
]
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule],
|
|
})
|
|
export class IndexPageRoutingModule {}
|