From 9052990d9943a0249bfcbeb6d9a0375a7a32c95a Mon Sep 17 00:00:00 2001 From: Justin McLellan Date: Sat, 17 Jun 2023 08:28:54 -0500 Subject: [PATCH] Finish removing modules --- src/app/app.routes.ts | 10 ++--- .../auth/access/access-routing.module.ts | 11 ----- .../components/auth/access/access.module.ts | 16 -------- src/app/demo/components/auth/auth.module.ts | 11 ----- .../auth/error/error-routing.module.ts | 11 ----- .../components/auth/error/error.module.ts | 15 ------- .../auth/login/login-routing.module.ts | 11 ----- .../components/auth/login/login.module.ts | 23 ----------- .../documentation-routing.module.ts | 11 ----- .../documentation/documentation.module.ts | 13 ------ .../landing/landing-routing.module.ts | 11 ----- .../demo/components/landing/landing.module.ts | 23 ----------- .../pages/crud/crud-routing.module.ts | 11 ----- .../demo/components/pages/crud/crud.module.ts | 41 ------------------- .../pages/empty/emptydemo-routing.module.ts | 11 ----- .../pages/empty/emptydemo.module.ts | 13 ------ .../components/pages/pages-routing.module.ts | 13 ------ src/app/demo/components/pages/pages.module.ts | 12 ------ src/app/demo/components/pages/pages.routes.ts | 8 ++++ .../timeline/timelinedemo-routing.module.ts | 11 ----- .../pages/timeline/timelinedemo.module.ts | 19 --------- .../primeblocks/primeblocks-routing.module.ts | 11 ----- .../primeblocks/primeblocks.module.ts | 30 -------------- .../utilities/utilities-routing.module.ts | 12 ------ .../components/utilities/utilities.module.ts | 15 ------- .../components/utilities/utilities.routes.ts | 7 ++++ 26 files changed, 20 insertions(+), 360 deletions(-) delete mode 100644 src/app/demo/components/auth/access/access-routing.module.ts delete mode 100644 src/app/demo/components/auth/access/access.module.ts delete mode 100644 src/app/demo/components/auth/auth.module.ts delete mode 100644 src/app/demo/components/auth/error/error-routing.module.ts delete mode 100644 src/app/demo/components/auth/error/error.module.ts delete mode 100644 src/app/demo/components/auth/login/login-routing.module.ts delete mode 100644 src/app/demo/components/auth/login/login.module.ts delete mode 100644 src/app/demo/components/documentation/documentation-routing.module.ts delete mode 100644 src/app/demo/components/documentation/documentation.module.ts delete mode 100644 src/app/demo/components/landing/landing-routing.module.ts delete mode 100644 src/app/demo/components/landing/landing.module.ts delete mode 100644 src/app/demo/components/pages/crud/crud-routing.module.ts delete mode 100644 src/app/demo/components/pages/crud/crud.module.ts delete mode 100644 src/app/demo/components/pages/empty/emptydemo-routing.module.ts delete mode 100644 src/app/demo/components/pages/empty/emptydemo.module.ts delete mode 100644 src/app/demo/components/pages/pages-routing.module.ts delete mode 100644 src/app/demo/components/pages/pages.module.ts create mode 100644 src/app/demo/components/pages/pages.routes.ts delete mode 100644 src/app/demo/components/pages/timeline/timelinedemo-routing.module.ts delete mode 100644 src/app/demo/components/pages/timeline/timelinedemo.module.ts delete mode 100644 src/app/demo/components/primeblocks/primeblocks-routing.module.ts delete mode 100644 src/app/demo/components/primeblocks/primeblocks.module.ts delete mode 100644 src/app/demo/components/utilities/utilities-routing.module.ts delete mode 100644 src/app/demo/components/utilities/utilities.module.ts create mode 100644 src/app/demo/components/utilities/utilities.routes.ts diff --git a/src/app/app.routes.ts b/src/app/app.routes.ts index 1089cc1..623269d 100644 --- a/src/app/app.routes.ts +++ b/src/app/app.routes.ts @@ -8,14 +8,14 @@ export const APP_ROUTES: Route[] = [ children: [ { path: '', loadComponent: () => import('./demo/components/dashboard/dashboard.component').then(m => m.DashboardComponent) }, { path: 'uikit', loadChildren: () => import('./demo/components/uikit/uikit.routes').then(m => m.UIKIT_ROUTES) }, - { path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.module').then(m => m.UtilitiesModule) }, - { path: 'documentation', loadChildren: () => import('./demo/components/documentation/documentation.module').then(m => m.DocumentationModule) }, - { path: 'blocks', loadChildren: () => import('./demo/components/primeblocks/primeblocks.module').then(m => m.PrimeBlocksModule) }, - { path: 'pages', loadChildren: () => import('./demo/components/pages/pages.module').then(m => m.PagesModule) } + { path: 'utilities', loadChildren: () => import('./demo/components/utilities/utilities.routes').then(m => m.UTILTIES_ROUTES) }, + { path: 'documentation', loadComponent: () => import('./demo/components/documentation/documentation.component').then(m => m.DocumentationComponent) }, + { path: 'blocks', loadComponent: () => import('./demo/components/primeblocks/blocks/blocks.component').then(m => m.BlocksComponent) }, + { path: 'pages', loadChildren: () => import('./demo/components/pages/pages.routes').then(m => m.PAGES_ROUTES) } ] }, { path: 'auth', loadChildren: () => import('./demo/components/auth/auth.routes').then(m => m.AUTH_ROUTES) }, - { path: 'landing', loadChildren: () => import('./demo/components/landing/landing.module').then(m => m.LandingModule) }, + { path: 'landing', loadComponent: () => import('./demo/components/landing/landing.component').then(m => m.LandingComponent) }, { path: 'notfound', component: NotfoundComponent }, { path: '**', redirectTo: '/notfound' }, ]; diff --git a/src/app/demo/components/auth/access/access-routing.module.ts b/src/app/demo/components/auth/access/access-routing.module.ts deleted file mode 100644 index c636009..0000000 --- a/src/app/demo/components/auth/access/access-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { AccessComponent } from './access.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: AccessComponent } - ])], - exports: [RouterModule] -}) -export class AccessRoutingModule { } diff --git a/src/app/demo/components/auth/access/access.module.ts b/src/app/demo/components/auth/access/access.module.ts deleted file mode 100644 index 0e7fb12..0000000 --- a/src/app/demo/components/auth/access/access.module.ts +++ /dev/null @@ -1,16 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { ButtonModule } from 'primeng/button'; - -import { AccessRoutingModule } from './access-routing.module'; -import { AccessComponent } from './access.component'; - -@NgModule({ - imports: [ - CommonModule, - AccessRoutingModule, - ButtonModule, - AccessComponent - ] -}) -export class AccessModule { } diff --git a/src/app/demo/components/auth/auth.module.ts b/src/app/demo/components/auth/auth.module.ts deleted file mode 100644 index 3571871..0000000 --- a/src/app/demo/components/auth/auth.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { AuthRoutingModule } from './auth.routes'; - -@NgModule({ - imports: [ - CommonModule, - AuthRoutingModule - ] -}) -export class AuthModule { } diff --git a/src/app/demo/components/auth/error/error-routing.module.ts b/src/app/demo/components/auth/error/error-routing.module.ts deleted file mode 100644 index 8ba5545..0000000 --- a/src/app/demo/components/auth/error/error-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { ErrorComponent } from './error.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: ErrorComponent } - ])], - exports: [RouterModule] -}) -export class ErrorRoutingModule { } diff --git a/src/app/demo/components/auth/error/error.module.ts b/src/app/demo/components/auth/error/error.module.ts deleted file mode 100644 index 01944d6..0000000 --- a/src/app/demo/components/auth/error/error.module.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { ErrorRoutingModule } from './error-routing.module'; -import { ErrorComponent } from './error.component'; -import { ButtonModule } from 'primeng/button'; - -@NgModule({ - imports: [ - CommonModule, - ErrorRoutingModule, - ButtonModule, - ErrorComponent - ] -}) -export class ErrorModule { } diff --git a/src/app/demo/components/auth/login/login-routing.module.ts b/src/app/demo/components/auth/login/login-routing.module.ts deleted file mode 100644 index 095ccda..0000000 --- a/src/app/demo/components/auth/login/login-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { LoginComponent } from './login.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: LoginComponent } - ])], - exports: [RouterModule] -}) -export class LoginRoutingModule { } diff --git a/src/app/demo/components/auth/login/login.module.ts b/src/app/demo/components/auth/login/login.module.ts deleted file mode 100644 index f0c6178..0000000 --- a/src/app/demo/components/auth/login/login.module.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { LoginRoutingModule } from './login-routing.module'; -import { LoginComponent } from './login.component'; -import { ButtonModule } from 'primeng/button'; -import { CheckboxModule } from 'primeng/checkbox'; -import { FormsModule } from '@angular/forms'; -import { PasswordModule } from 'primeng/password'; -import { InputTextModule } from 'primeng/inputtext'; - -@NgModule({ - imports: [ - CommonModule, - LoginRoutingModule, - ButtonModule, - CheckboxModule, - InputTextModule, - FormsModule, - PasswordModule, - LoginComponent - ] -}) -export class LoginModule { } diff --git a/src/app/demo/components/documentation/documentation-routing.module.ts b/src/app/demo/components/documentation/documentation-routing.module.ts deleted file mode 100644 index 36371a4..0000000 --- a/src/app/demo/components/documentation/documentation-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { DocumentationComponent } from './documentation.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: DocumentationComponent } - ])], - exports: [RouterModule] -}) -export class DocumentationRoutingModule { } diff --git a/src/app/demo/components/documentation/documentation.module.ts b/src/app/demo/components/documentation/documentation.module.ts deleted file mode 100644 index d18d2e5..0000000 --- a/src/app/demo/components/documentation/documentation.module.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { DocumentationRoutingModule } from './documentation-routing.module'; -import { DocumentationComponent } from './documentation.component'; - -@NgModule({ - imports: [ - CommonModule, - DocumentationRoutingModule, - DocumentationComponent - ] -}) -export class DocumentationModule { } diff --git a/src/app/demo/components/landing/landing-routing.module.ts b/src/app/demo/components/landing/landing-routing.module.ts deleted file mode 100644 index ecaf3c1..0000000 --- a/src/app/demo/components/landing/landing-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { LandingComponent } from './landing.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: LandingComponent } - ])], - exports: [RouterModule] -}) -export class LandingRoutingModule { } diff --git a/src/app/demo/components/landing/landing.module.ts b/src/app/demo/components/landing/landing.module.ts deleted file mode 100644 index df0dab8..0000000 --- a/src/app/demo/components/landing/landing.module.ts +++ /dev/null @@ -1,23 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { LandingRoutingModule } from './landing-routing.module'; -import { LandingComponent } from './landing.component'; -import { StyleClassModule } from 'primeng/styleclass'; -import { DividerModule } from 'primeng/divider'; -import { ChartModule } from 'primeng/chart'; -import { PanelModule } from 'primeng/panel'; -import { ButtonModule } from 'primeng/button'; - -@NgModule({ - imports: [ - CommonModule, - LandingRoutingModule, - DividerModule, - StyleClassModule, - ChartModule, - PanelModule, - ButtonModule, - LandingComponent - ] -}) -export class LandingModule { } diff --git a/src/app/demo/components/pages/crud/crud-routing.module.ts b/src/app/demo/components/pages/crud/crud-routing.module.ts deleted file mode 100644 index 75ac279..0000000 --- a/src/app/demo/components/pages/crud/crud-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { CrudComponent } from './crud.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: CrudComponent } - ])], - exports: [RouterModule] -}) -export class CrudRoutingModule { } diff --git a/src/app/demo/components/pages/crud/crud.module.ts b/src/app/demo/components/pages/crud/crud.module.ts deleted file mode 100644 index 247558e..0000000 --- a/src/app/demo/components/pages/crud/crud.module.ts +++ /dev/null @@ -1,41 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { FormsModule } from '@angular/forms'; -import { CrudRoutingModule } from './crud-routing.module'; -import { CrudComponent } from './crud.component'; -import { TableModule } from 'primeng/table'; -import { FileUploadModule } from 'primeng/fileupload'; -import { ButtonModule } from 'primeng/button'; -import { RippleModule } from 'primeng/ripple'; -import { ToastModule } from 'primeng/toast'; -import { ToolbarModule } from 'primeng/toolbar'; -import { RatingModule } from 'primeng/rating'; -import { InputTextModule } from 'primeng/inputtext'; -import { InputTextareaModule } from 'primeng/inputtextarea'; -import { DropdownModule } from 'primeng/dropdown'; -import { RadioButtonModule } from 'primeng/radiobutton'; -import { InputNumberModule } from 'primeng/inputnumber'; -import { DialogModule } from 'primeng/dialog'; - -@NgModule({ - imports: [ - CommonModule, - CrudRoutingModule, - TableModule, - FileUploadModule, - FormsModule, - ButtonModule, - RippleModule, - ToastModule, - ToolbarModule, - RatingModule, - InputTextModule, - InputTextareaModule, - DropdownModule, - RadioButtonModule, - InputNumberModule, - DialogModule, - CrudComponent - ] -}) -export class CrudModule { } diff --git a/src/app/demo/components/pages/empty/emptydemo-routing.module.ts b/src/app/demo/components/pages/empty/emptydemo-routing.module.ts deleted file mode 100644 index 52ed8c5..0000000 --- a/src/app/demo/components/pages/empty/emptydemo-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { EmptyDemoComponent } from './emptydemo.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: EmptyDemoComponent } - ])], - exports: [RouterModule] -}) -export class EmptyDemoRoutingModule { } diff --git a/src/app/demo/components/pages/empty/emptydemo.module.ts b/src/app/demo/components/pages/empty/emptydemo.module.ts deleted file mode 100644 index 9eb6f8c..0000000 --- a/src/app/demo/components/pages/empty/emptydemo.module.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { EmptyDemoRoutingModule } from './emptydemo-routing.module'; -import { EmptyDemoComponent } from './emptydemo.component'; - -@NgModule({ - imports: [ - CommonModule, - EmptyDemoRoutingModule, - EmptyDemoComponent - ] -}) -export class EmptyDemoModule { } diff --git a/src/app/demo/components/pages/pages-routing.module.ts b/src/app/demo/components/pages/pages-routing.module.ts deleted file mode 100644 index a1cd86a..0000000 --- a/src/app/demo/components/pages/pages-routing.module.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: 'crud', loadChildren: () => import('./crud/crud.module').then(m => m.CrudModule) }, - { path: 'empty', loadChildren: () => import('./empty/emptydemo.module').then(m => m.EmptyDemoModule) }, - { path: 'timeline', loadChildren: () => import('./timeline/timelinedemo.module').then(m => m.TimelineDemoModule) }, - { path: '**', redirectTo: '/notfound' } - ])], - exports: [RouterModule] -}) -export class PagesRoutingModule { } diff --git a/src/app/demo/components/pages/pages.module.ts b/src/app/demo/components/pages/pages.module.ts deleted file mode 100644 index 7b4557f..0000000 --- a/src/app/demo/components/pages/pages.module.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { PagesRoutingModule } from './pages-routing.module'; - -@NgModule({ - declarations: [], - imports: [ - CommonModule, - PagesRoutingModule - ] -}) -export class PagesModule { } diff --git a/src/app/demo/components/pages/pages.routes.ts b/src/app/demo/components/pages/pages.routes.ts new file mode 100644 index 0000000..cb383e3 --- /dev/null +++ b/src/app/demo/components/pages/pages.routes.ts @@ -0,0 +1,8 @@ +import { Route } from '@angular/router'; + +export const PAGES_ROUTES: Route[] = [ + { path: 'crud', loadComponent: () => import('./crud/crud.component').then(m => m.CrudComponent) }, + { path: 'empty', loadComponent: () => import('./empty/emptydemo.component').then(m => m.EmptyDemoComponent) }, + { path: 'timeline', loadComponent: () => import('./timeline/timelinedemo.component').then(m => m.TimelineDemoComponent) }, + { path: '**', redirectTo: '/notfound' } +]; diff --git a/src/app/demo/components/pages/timeline/timelinedemo-routing.module.ts b/src/app/demo/components/pages/timeline/timelinedemo-routing.module.ts deleted file mode 100644 index a4522b0..0000000 --- a/src/app/demo/components/pages/timeline/timelinedemo-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { TimelineDemoComponent } from './timelinedemo.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: TimelineDemoComponent } - ])], - exports: [RouterModule] -}) -export class TimelineDemoRoutingModule { } diff --git a/src/app/demo/components/pages/timeline/timelinedemo.module.ts b/src/app/demo/components/pages/timeline/timelinedemo.module.ts deleted file mode 100644 index b9e2e25..0000000 --- a/src/app/demo/components/pages/timeline/timelinedemo.module.ts +++ /dev/null @@ -1,19 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { TimelineDemoRoutingModule } from './timelinedemo-routing.module'; -import { TimelineDemoComponent } from './timelinedemo.component'; -import { TimelineModule } from 'primeng/timeline'; -import { ButtonModule } from 'primeng/button'; -import { CardModule } from 'primeng/card'; - -@NgModule({ - imports: [ - CommonModule, - TimelineModule, - ButtonModule, - CardModule, - TimelineDemoRoutingModule, - TimelineDemoComponent - ] -}) -export class TimelineDemoModule { } diff --git a/src/app/demo/components/primeblocks/primeblocks-routing.module.ts b/src/app/demo/components/primeblocks/primeblocks-routing.module.ts deleted file mode 100644 index b3149f4..0000000 --- a/src/app/demo/components/primeblocks/primeblocks-routing.module.ts +++ /dev/null @@ -1,11 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { BlocksComponent } from './blocks/blocks.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: '', component: BlocksComponent } - ])], - exports: [RouterModule] -}) -export class PrimeBlocksRoutingModule { } diff --git a/src/app/demo/components/primeblocks/primeblocks.module.ts b/src/app/demo/components/primeblocks/primeblocks.module.ts deleted file mode 100644 index a7cbf63..0000000 --- a/src/app/demo/components/primeblocks/primeblocks.module.ts +++ /dev/null @@ -1,30 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { BlocksComponent } from './blocks/blocks.component'; -import { PrimeBlocksRoutingModule } from './primeblocks-routing.module'; -import { BlockViewerComponent } from './blockviewer/blockviewer.component' -import { ChipModule } from 'primeng/chip'; -import { CheckboxModule } from 'primeng/checkbox'; -import { ButtonModule } from 'primeng/button'; -import { RippleModule } from 'primeng/ripple'; -import { FormsModule } from '@angular/forms'; -import { InputTextModule } from 'primeng/inputtext'; -import { PasswordModule } from 'primeng/password'; -import { TooltipModule } from 'primeng/tooltip'; - -@NgModule({ - imports: [ - CommonModule, - ButtonModule, - RippleModule, - ChipModule, - CheckboxModule, - FormsModule, - InputTextModule, - PasswordModule, - TooltipModule, - PrimeBlocksRoutingModule, - BlocksComponent, BlockViewerComponent - ] -}) -export class PrimeBlocksModule { } diff --git a/src/app/demo/components/utilities/utilities-routing.module.ts b/src/app/demo/components/utilities/utilities-routing.module.ts deleted file mode 100644 index e6b0c11..0000000 --- a/src/app/demo/components/utilities/utilities-routing.module.ts +++ /dev/null @@ -1,12 +0,0 @@ -import { NgModule } from '@angular/core'; -import { RouterModule } from '@angular/router'; -import { IconsComponent } from './icons/icons.component'; - -@NgModule({ - imports: [RouterModule.forChild([ - { path: 'icons', data: { breadcrumb: 'Prime Icons' }, component: IconsComponent }, - { path: '**', redirectTo: '/notfound' } - ])], - exports: [RouterModule] -}) -export class UtilitiesRoutingModule { } diff --git a/src/app/demo/components/utilities/utilities.module.ts b/src/app/demo/components/utilities/utilities.module.ts deleted file mode 100644 index a3ccbee..0000000 --- a/src/app/demo/components/utilities/utilities.module.ts +++ /dev/null @@ -1,15 +0,0 @@ -import { NgModule } from '@angular/core'; -import { CommonModule } from '@angular/common'; -import { IconsComponent } from './icons/icons.component'; -import { UtilitiesRoutingModule } from './utilities-routing.module'; -import { InputTextModule } from 'primeng/inputtext'; - -@NgModule({ - imports: [ - CommonModule, - UtilitiesRoutingModule, - InputTextModule, - IconsComponent - ] -}) -export class UtilitiesModule { } diff --git a/src/app/demo/components/utilities/utilities.routes.ts b/src/app/demo/components/utilities/utilities.routes.ts new file mode 100644 index 0000000..857c848 --- /dev/null +++ b/src/app/demo/components/utilities/utilities.routes.ts @@ -0,0 +1,7 @@ +import { Route } from '@angular/router'; +import { IconsComponent } from './icons/icons.component'; + +export const UTILTIES_ROUTES: Route[] = [ + { path: 'icons', data: { breadcrumb: 'Prime Icons' }, component: IconsComponent }, + { path: '**', redirectTo: '/notfound' } +];