mirror of
https://github.com/akveo/ngx-admin.git
synced 2025-12-18 16:30:13 +01:00
feat(notfound): add NotFound page (#1672)
This commit is contained in:
parent
0ba99f2c6b
commit
fa3cdf731b
9 changed files with 120 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ import { NgModule } from '@angular/core';
|
|||
|
||||
import { PagesComponent } from './pages.component';
|
||||
import { DashboardComponent } from './dashboard/dashboard.component';
|
||||
import { NotFoundComponent } from './miscellaneous/not-found/not-found.component';
|
||||
|
||||
const routes: Routes = [{
|
||||
path: '',
|
||||
|
|
@ -31,10 +32,16 @@ const routes: Routes = [{
|
|||
}, {
|
||||
path: 'tables',
|
||||
loadChildren: './tables/tables.module#TablesModule',
|
||||
}, {
|
||||
path: 'miscellaneous',
|
||||
loadChildren: './miscellaneous/miscellaneous.module#MiscellaneousModule',
|
||||
}, {
|
||||
path: '',
|
||||
redirectTo: 'dashboard',
|
||||
pathMatch: 'full',
|
||||
}, {
|
||||
path: '**',
|
||||
component: NotFoundComponent,
|
||||
}],
|
||||
}];
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue