18 lines
417 B
TypeScript
18 lines
417 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { BrowserModule } from '@angular/platform-browser';
|
||
|
import { RouterModule } from '@angular/router';
|
||
|
|
||
|
import { AppComponent } from './app.component';
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [
|
||
|
BrowserModule,
|
||
|
RouterModule.forChild([{ path: '07-04', component: AppComponent }])
|
||
|
],
|
||
|
declarations: [
|
||
|
AppComponent
|
||
|
],
|
||
|
exports: [ AppComponent ]
|
||
|
})
|
||
|
export class AppModule {}
|