diff --git a/client/src/app/app.ts b/client/src/app/app.ts index 221be2f..01899b9 100644 --- a/client/src/app/app.ts +++ b/client/src/app/app.ts @@ -1,9 +1,19 @@ import { Component, signal } from '@angular/core'; import { RouterOutlet } from '@angular/router'; +import { NgbModule } from '@ng-bootstrap/ng-bootstrap'; +import { + NgbNavContent, + NgbNav, + NgbNavItem, + NgbNavItemRole, + NgbNavLinkButton, + NgbNavLinkBase, + NgbNavOutlet, +} from '@ng-bootstrap/ng-bootstrap/nav'; @Component({ selector: 'app-root', - imports: [RouterOutlet], + imports: [RouterOutlet, NgbModule, NgbNavContent, NgbNav, NgbNavItem, NgbNavItemRole, NgbNavLinkButton, NgbNavLinkBase, NgbNavOutlet], templateUrl: './app.html', styleUrl: './app.less' }) diff --git a/tsconfig.json b/tsconfig.json index 9f19c6b..666599c 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -5,7 +5,7 @@ "outDir": "./dist/out-tsc", "sourceMap": true, "declaration": false, - "moduleResolution": "node", + "moduleResolution": "bundler", "target": "ES2022", "module": "es2022", "lib": ["es2022", "dom"]