22 lines
576 B
TypeScript
22 lines
576 B
TypeScript
import {NgModule} from '@angular/core';
|
|
import {RouterModule, Routes} from '@angular/router';
|
|
import {LandingpageComponent} from './pages/landingpage/landingpage.component';
|
|
import {PageNotFoundComponent} from './pages/page-not-found/page-not-found.component';
|
|
|
|
const routes: Routes = [
|
|
{path: '', component: LandingpageComponent, pathMatch: 'full'},
|
|
{path: '**', component: PageNotFoundComponent}
|
|
];
|
|
|
|
@NgModule({
|
|
declarations: [],
|
|
imports: [
|
|
RouterModule.forRoot(routes)
|
|
],
|
|
exports: [
|
|
RouterModule
|
|
]
|
|
})
|
|
export class AppRouting {
|
|
}
|