-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
API package not compiled? Missing: import { PrimeIcons } from "primevue/api"; #6117
Comments
I have the same issue! There are any advance? |
Same issue |
https://github.com/primefaces/primevue/blob/master/packages/core/src/api/Api.js#L4 Am I missing something? |
@tugcekucukoglu Yes the Api file looks correct, but I think it needs to be exported from the https://github.com/primefaces/primevue/blob/master/packages/primevue/package.json You see, the export is missing there. |
Still down in 4.0.5 : import { FilterMatchMode, FilterOperator } from 'primevue/api'; Failed to resolve import "primevue/api" from "****.vue". Does the file exist? EDIT v4 migration (https://primevue.org/guides/migration/v4/) : And it works. |
Yep, please use |
Describe the bug
Reproducer
x
PrimeVue version
4.0.1
Vue version
4.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
Any
Steps to reproduce the behavior
No response
Expected behavior
In v3 we were able to import from
import { PrimeIcons } from "primevue/api";
https://github.com/primefaces/primevue/blob/v3-prod/components/lib/api/PrimeIcons.js
In v4 the api doesn't seem to be compiled.
The source file doe exist in the
master
branch:https://github.com/primefaces/primevue/blob/master/packages/core/src/api/Api.js
https://github.com/primefaces/primevue/blob/master/packages/core/src/api/PrimeIcons.js
The text was updated successfully, but these errors were encountered: