We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
@primevue/core/api missing somehow, because of that FilterMatchMode, FilterOperator etc cannot be imported below some error examples..
[plugin:vite:import-analysis] Failed to resolve import "@primevue/core/api" from "src/views/uikit/TableDoc.vue". Does the file exist? ....../sakai-vue-master/src/views/uikit/TableDoc.vue:4:50 17 | import { CustomerService } from '@/service/CustomerService'; 18 | import { ProductService } from '@/service/ProductService'; 19 | import { FilterMatchMode, FilterOperator } from '@primevue/core/api'; | ^ 20 | import { onBeforeMount, reactive, ref } from 'vue';
[plugin:vite:import-analysis] Failed to resolve import "@primevue/core/api" from "src/views/pages/Crud.vue". Does the file ...../sakai-vue-master/src/views/pages/Crud.vue:3:34 14 | import __unplugin_components_0 from 'primevue/button'; 15 | import { ProductService } from '@/service/ProductService'; 16 | import { FilterMatchMode } from '@primevue/core/api'; | ^ 17 | import { useToast } from 'primevue/usetoast'; 18 | import { onMounted, ref } from 'vue';
The text was updated successfully, but these errors were encountered:
Had the same problem. The solution was to add this package: pnpm i @primevue/core
Sorry, something went wrong.
It should have been installed transitively, @mertsincan wdyt?
This still a thing, had to install @primevue/core
Try add shamefully-hoist=true to your .npmrc file.
shamefully-hoist=true
.npmrc
No branches or pull requests
Hello,
@primevue/core/api missing somehow,
because of that FilterMatchMode, FilterOperator etc cannot be imported
below some error examples..
[plugin:vite:import-analysis] Failed to resolve import "@primevue/core/api" from "src/views/uikit/TableDoc.vue". Does the file exist?
....../sakai-vue-master/src/views/uikit/TableDoc.vue:4:50
17 | import { CustomerService } from '@/service/CustomerService';
18 | import { ProductService } from '@/service/ProductService';
19 | import { FilterMatchMode, FilterOperator } from '@primevue/core/api';
| ^
20 | import { onBeforeMount, reactive, ref } from 'vue';
[plugin:vite:import-analysis] Failed to resolve import "@primevue/core/api" from "src/views/pages/Crud.vue". Does the file ...../sakai-vue-master/src/views/pages/Crud.vue:3:34
14 | import __unplugin_components_0 from 'primevue/button';
15 | import { ProductService } from '@/service/ProductService';
16 | import { FilterMatchMode } from '@primevue/core/api';
| ^
17 | import { useToast } from 'primevue/usetoast';
18 | import { onMounted, ref } from 'vue';
The text was updated successfully, but these errors were encountered: