Update routes

This commit is contained in:
Çetin
2025-01-03 12:53:05 +03:00
parent 71930e6ebd
commit 383a883255
4 changed files with 43 additions and 16 deletions

View File

@@ -1,10 +1,7 @@
import { Routes } from '@angular/router';
import { Access } from './access';
import { Login } from './login';
import { Error } from './error';
export default [
{ path: 'access', component: Access},
{ path: 'error', component: Error},
{ path: 'login', component: Login},
{ path: 'access', loadComponent: () => import('./access').then(c => c.Access)},
{ path: 'error', loadComponent: () => import('./error').then(c => c.Error)},
{ path: 'login', loadComponent: () => import('./login').then(c => c.Login)},
] as Routes;