You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
648 B
19 lines
648 B
4 years ago
|
import { Routes, RouterModule } from '@angular/router';
|
||
|
import { NgModule } from '@angular/core';
|
||
|
import { PlanComponent } from './plan/plan.component';
|
||
|
import { TodayWarningComponent } from './today-warning/today-warning.component';
|
||
|
import { CriminalRecordsComponent } from './criminal-records/criminal-records.component';
|
||
|
|
||
|
|
||
|
const routes: Routes = [
|
||
|
{ path: 'plan', component: PlanComponent },
|
||
|
{ path: 'warning', component: TodayWarningComponent },
|
||
|
{ path: 'records', component: CriminalRecordsComponent }
|
||
|
];
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [RouterModule.forChild(routes)],
|
||
|
exports: [RouterModule]
|
||
|
})
|
||
|
export class PagesRoutingModule { }
|