17 lines
347 B
TypeScript
17 lines
347 B
TypeScript
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
import { AboutComponent } from './about.component';
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: '',
|
|
component: AboutComponent,
|
|
},
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule]
|
|
})
|
|
export class AboutRoutingModule { }
|