Files
psp_panel/src/app/demo/components/auth/auth-routing.module.ts
T

14 lines
580 B
TypeScript
Raw Normal View History

2022-07-22 13:13:50 +03:00
import { NgModule } from '@angular/core';
import { RouterModule } from '@angular/router';
@NgModule({
imports: [RouterModule.forChild([
{ path: 'error', loadChildren: () => import('./error/error.module').then(m => m.ErrorModule) },
{ path: 'access', loadChildren: () => import('./access/access.module').then(m => m.AccessModule) },
2022-10-27 21:27:36 +03:00
{ path: 'login', loadChildren: () => import('./login/login.module').then(m => m.LoginModule) },
{ path: '**', redirectTo: '/notfound' }
2022-07-22 13:13:50 +03:00
])],
exports: [RouterModule]
})
export class AuthRoutingModule { }