switch to new routing method

should help with future implementations
This commit is contained in:
rubikscraft
2022-03-14 22:38:04 +01:00
parent 9bafcccadc
commit 0dce5fa108
26 changed files with 261 additions and 103 deletions

View File

@@ -0,0 +1,16 @@
import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { PageNotFoundComponent } from './pagenotfound.component';
const routes: Routes = [
{
path: 'pagenotfound',
component: PageNotFoundComponent,
},
];
@NgModule({
imports: [RouterModule.forChild(routes)],
exports: [RouterModule],
})
export class PageNotFoundRoutingModule {}