You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
470 B
21 lines
470 B
import { NgModule } from '@angular/core';
|
|
import { Routes, RouterModule } from '@angular/router';
|
|
import { RoleComponent } from './role/role.component';
|
|
import { UserComponent } from './user/user.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: 'role',
|
|
component: RoleComponent
|
|
},
|
|
{
|
|
path: 'user',
|
|
component: UserComponent
|
|
}
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class BasicRoutingModule { }
|