18 lines
500 B
TypeScript
18 lines
500 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { Routes, RouterModule } from '@angular/router';
|
||
|
import { HistoryListComponent } from './components/history-list/history-list.component';
|
||
|
|
||
|
/**
|
||
|
* Define the routes for the history module
|
||
|
*/
|
||
|
const routes: Routes = [{ path: '', component: HistoryListComponent }];
|
||
|
|
||
|
/**
|
||
|
* Define the routing component and setup the routes
|
||
|
*/
|
||
|
@NgModule({
|
||
|
imports: [RouterModule.forChild(routes)],
|
||
|
exports: [RouterModule]
|
||
|
})
|
||
|
export class HistoryRoutingModule {}
|