users.routes.ts
angular/comprehensive-demo/src/app/features/users/users.routes.ts
/**
* Users Feature Routes
*
* Lazy-loaded routes for the users feature module.
*/
import { Routes } from '@angular/router';
export const USER_ROUTES: Routes = [
{
path: '',
loadComponent: () => import('./user-list/user-list.component').then(m => m.UserListComponent),
title: 'Users'
},
{
path: ':id',
loadComponent: () => import('./user-detail/user-detail.component').then(m => m.UserDetailComponent),
title: 'User Details'
}
];
Articoli correlati
server.js
server.js — javascript source code from the angular learning materials (angular/comprehensive-demo/server/server.js).
Leggi l'articolo →app.component.ts
app.component.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/app.component.ts).
Leggi l'articolo →app.config.ts
app.config.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/app.config.ts).
Leggi l'articolo →app.routes.ts
app.routes.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/app.routes.ts).
Leggi l'articolo →auth.guard.ts
auth.guard.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/core/guards/auth.guard.ts).
Leggi l'articolo →role.guard.ts
role.guard.ts — typescript source code from the angular learning materials (angular/comprehensive-demo/src/app/core/guards/role.guard.ts).
Leggi l'articolo →