change lib path refs components

This commit is contained in:
Tykayn 2025-08-14 14:58:41 +02:00 committed by tykayn
parent 54bf9d3fe2
commit a88cfb8e3d
6 changed files with 34 additions and 21 deletions

View file

@ -4,6 +4,7 @@ import {DsNavbar} from './ds-navbar';
import {CommonModule} from '@angular/common';
import {Store, StoreModule} from '@ngrx/store';
import {reducers} from '../reducers';
import {ActivatedRoute, RouterModule} from '@angular/router';
const appReducer = reducers.app;
@ -16,9 +17,20 @@ const meta: Meta<DsNavbar> = {
imports: [
CommonModule,
StoreModule.forRoot({app: appReducer as any}),
RouterModule.forRoot([]),
],
providers: [
Store
Store,
{
provide: ActivatedRoute,
useValue: {
snapshot: {
paramMap: {
get: () => null
}
}
}
}
]
})
],