12 lines
362 B
TypeScript
12 lines
362 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { Routes, RouterModule } from '@angular/router';
|
||
|
import { UserListComponent } from './user-list/user-list.component';
|
||
|
|
||
|
const routes: Routes = [{ path: '', component: UserListComponent }];
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [RouterModule.forChild(routes)],
|
||
|
exports: [RouterModule]
|
||
|
})
|
||
|
export class UsersRoutingModule {}
|