github.com/readium/readium-lcp-server@v0.0.0-20240101192032-6e95190e99f1/frontend/manage/app/app-routing.module.ts (about) 1 import { NgModule } from '@angular/core'; 2 import { RouterModule, Routes } from '@angular/router'; 3 import { PageNotFoundComponent } from './not-found.component'; 4 5 const appRoutes: Routes = [ 6 { path: '', redirectTo: '/dashboard', pathMatch: 'full' }, 7 { path: '**', component: PageNotFoundComponent } 8 ]; 9 10 @NgModule({ 11 imports: [ 12 RouterModule.forRoot(appRoutes) 13 ], 14 exports: [ 15 RouterModule 16 ] 17 }) 18 19 export class AppRoutingModule {}