15 lines
290 B
TypeScript
15 lines
290 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { RouterModule } from '@angular/router';
|
||
|
|
||
|
import { TestComponent } from './test.component';
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
RouterModule.forChild([
|
||
|
{ path: '', component: TestComponent},
|
||
|
|
||
|
])
|
||
|
]
|
||
|
})
|
||
|
export class TestRoutingModule { }
|