Files
nexus-spa/src/app/demo/components/auth/auth-routing.module.ts
2022-10-27 21:27:36 +03:00

14 lines
580 B
TypeScript

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) },
{ path: 'login', loadChildren: () => import('./login/login.module').then(m => m.LoginModule) },
{ path: '**', redirectTo: '/notfound' }
])],
exports: [RouterModule]
})
export class AuthRoutingModule { }