添加菜单页路由
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import { NgModule } from '@angular/core';
|
||||
import { RouterModule, Routes } from '@angular/router';
|
||||
|
||||
import { HistoricalDataComponent } from './historical-data.component';
|
||||
|
||||
const historicalDataRoutes: Routes = [
|
||||
{
|
||||
path: '',
|
||||
component: HistoricalDataComponent
|
||||
}
|
||||
]
|
||||
|
||||
@NgModule({
|
||||
imports: [RouterModule.forChild(historicalDataRoutes)],
|
||||
exports: [RouterModule]
|
||||
})
|
||||
|
||||
export class HistoricalDataRouting { }
|
||||
Reference in New Issue
Block a user