Skip to content
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

primevue/useconfirm not found #839

Closed
hognevevle opened this issue Jan 6, 2021 · 2 comments
Closed

primevue/useconfirm not found #839

hognevevle opened this issue Jan 6, 2021 · 2 comments
Assignees
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@hognevevle
Copy link

hognevevle commented Jan 6, 2021

import { useConfirm } from "primevue/useconfirm";

This currently does not work per the instructions. I'm on 3.1.1.

 ERROR  Failed to compile with 1 error                                                                                                               5:10:17 PM

This dependency was not found:

* primevue/useconfirm in ./node_modules/cache-loader/dist/cjs.js??ref--12-0!./node_modules/babel-loader/lib!./node_modules/cache-loader/dist/cjs.js??ref--0-0!./node_modules/vue-loader-v16/dist??ref--0-1!./src/components/UserMenu.vue?vue&type=script&lang=js

To install it, you can run: npm install --save primevue/useconfirm
@hognevevle
Copy link
Author

Looks like "primevue/useconfirm" should instead be "primevue/useConfirm".

@cagataycivici cagataycivici self-assigned this Jan 13, 2021
@cagataycivici cagataycivici added the Type: Bug Issue contains a bug related to a specific component. Something about the component is not working label Jan 13, 2021
@cagataycivici cagataycivici added this to the 3.1.2 milestone Jan 13, 2021
@cagataycivici
Copy link
Member

Resolved in 3.1.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants