16 lines
339 B
TypeScript
16 lines
339 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { RouterModule } from '@angular/router';
|
||
|
|
||
|
import { AppComponent } from './app.component';
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
RouterModule.forChild([{ path: '03-01', component: AppComponent }])
|
||
|
],
|
||
|
declarations: [
|
||
|
AppComponent
|
||
|
],
|
||
|
exports: [ AppComponent ]
|
||
|
})
|
||
|
export class AppModule {}
|