@primevue/metadata
v5.0.0
Published
Static component and directive catalog for PrimeVue. Exports structured metadata including import paths, component names, aliases, and service hints, consumed by build-time tooling such as `@primevue/auto-import-resolver` and IDE plugins.
Keywords
Readme
PrimeVue Metadata
Static component and directive catalog for PrimeVue. Exports structured metadata including import paths, component names, aliases, and service hints, consumed by build-time tooling such as @primevue/auto-import-resolver and IDE plugins.
What's inside
Each metadata entry describes one importable unit:
{
name: 'DataTable',
as: 'DataTable',
from: 'primevue/datatable'
}
// With a service hint:
{
name: 'Toast',
as: 'Toast',
from: 'primevue/toast',
use: { as: 'ToastService', from: 'primevue/toastservice' }
}Entries are grouped by category (form, button, data, panel, overlay, menu, chart, media, misc) and exported both grouped and as a flat components array.
Usage
Typically consumed indirectly through @primevue/auto-import-resolver or the Nuxt module. For direct use:
import { components } from '@primevue/metadata';
components.forEach(({ name, from }) => {
console.log(`${name} → ${from}`);
});License
Licensed under the PrimeUI License - Copyright (c) PrimeTek Informatics
