21 lines
433 B
TypeScript
21 lines
433 B
TypeScript
// #docplaster
|
|
// #docregion
|
|
import { NgModule } from '@angular/core';
|
|
import { RouterModule, Routes } from '@angular/router';
|
|
|
|
import { CrisisListComponent } from './crisis-list.component';
|
|
|
|
const appRoutes: Routes = [
|
|
{ path: 'crisis-center', component: CrisisListComponent }
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [
|
|
RouterModule.forRoot(appRoutes)
|
|
],
|
|
exports: [
|
|
RouterModule
|
|
]
|
|
})
|
|
export class AppRoutingModule {}
|