Skip to content

Commit dcbfdd3

Browse files
fix: declare not-found component
1 parent 2273103 commit dcbfdd3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/modules/not-found/not-found.module.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export const routes: Routes = [{ path: '**', component: NotFoundComponent }]
77
// tslint:disable-next-line:no-class
88
@NgModule({
99
imports: [RouterModule.forRoot(routes)],
10-
exports: [RouterModule]
10+
declarations: [NotFoundComponent],
11+
exports: [RouterModule, NotFoundComponent]
1112
})
1213
export class NotFoundRoutingModule {}

0 commit comments

Comments
 (0)