MenuItem: AppMenuItem.vue npm reference issue in file in Ultima and Apollo and probabably other templates too. #6467
Labels
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Describe the bug
AppMenuItem.vue has a reference to @primeuix/utils, which is not imported in package.json.
import { calculateScrollbarWidth, getViewport } from '@primeuix/utils/dom';
It would be better to add a reference to @primevue/core which exposes those references anyway.
Also would need to add a reference to it in package.json
import { calculateScrollbarWidth, getViewport } from '@primevue/core/utils';
Reproducer
Not required
PrimeVue version
4.00
Vue version
4.x
Language
ALL
Build / Runtime
Vite
Browser(s)
Chrome 128
Steps to reproduce the behavior
Expected behavior
All package references should be defined in package.json
The text was updated successfully, but these errors were encountered: