-
Notifications
You must be signed in to change notification settings - Fork 58
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
Vue 3 support #58
Comments
Is there a problem of it not working in Vue3? I thought Vue2 component works in Vue3 so wouldn't keep it as is work better? |
Oh I don't think there's a problem with it working in Vue 3 -- but I'm not able to upgrade to Vue 3 due to this packages Unless there's a way around this requirement that you may know of? |
The error seem like it have a problem with vue@^2.6.12 as peer dev. I removed it from peer dependencies in 1.5.0, please try and let me know if it work. Thanks. |
Ok great -- I was able to update to Vue 3, but I do receive warnings, and then an error. Here's my console output:
I copied your component locally in my project, and here is what I needed to change for compatibility: https://gist.github.com/stevebauman/0f9f75bb6a4b80dd4a0b900b63173f92/revisions |
Also -- is there a reason for using |
I replace beforeDestroy for pure element removal event. |
Ah okay understood. Couldn't you use ES6 arrow functions so the Before: jq('input', this.footer()).on('keyup change clear search', function () {
if (that.search() !== this.value) {
that.search(this.value).draw();
}
}); After: jq('input', this.footer()).on('keyup change clear search', (e) => {
if (this.search() !== e.target.value) {
this.search(e.target.value).draw();
}
}); Not complaining or anything (really appreciate the work you've done) -- just curious on your implementation is all. 👍 |
Also for me it doesn't work on vue 3. Maybe I'm doing something wrong. Please provide the simplest possible example on vue 3. |
When I try to use this package with vue 3, it directly gives an error about $scopedSlots. I checked and see that scopedSlots are deprecated :( |
@sametsafak Thanks for posting your error. This gave me a hint on why it is broken. I've updated the component to support Vue 3 and tag new release to version 2.0.0. Also updated the project and examples to Vue 3. Let me know if you have any other issue. |
Hi! I appreciate the work you're doing on this project! I too am getting the error "This dependency was not found:
Any suggestions on what I might be missing? |
@ckujawa I'm not sure what the issue is but from what you commented above, are you missing reference of Though, I did found a different or similar issue in compiling vue3 project with laravel-mix so I updated the project to compile with |
That worked much better. Thank you! I didn't even consider using Vite...I'm just starting to learn Vue 3 :). |
Yep, to develop Vue with Typescript, Vite is suggested right on vuejs own site here: https://vuejs.org/guide/typescript/overview.html |
Hi there! First of all -- thanks so much for building and open sourcing this awesome package. ❤️
I was wondering if Vue 3 support may be in the works? Really enjoy using this package and I don't want to have to give it up to upgrade. 😢
Is there anything you may need help with to get the compatibility process underway?
The text was updated successfully, but these errors were encountered: