How can I use it in Vue3 project

This issue has been tracked since 2021-03-28.

When I use it in Vue3 project, there are some warnings and errors as follows. How can I use it in Vue3 project?
_[Vue warn]: beforeDestroy has been renamed to beforeUnmount.
[Vue warn]: Property "$createElement" was accessed during render but is not defined on instance.
[Vue warn]: Property "_self" was accessed during render but is not defined on instance.
[Vue warn]: Unhandled error during execution of render function
[Vue warn]: Unhandled error during execution of scheduler flush. This is likely a Vue internals bug. Please open an issue at https://new-issue.vuejs.org/?repo=vuejs/vue-next
Uncaught (in promise) TypeError: Cannot read property 'c' of undefined
at Proxy.render (vue-google-charts.common.js?757f:formatted:350)
at renderComponentRoot (runtime-core.esm-bundler.js?5c40:696)
at componentEffect (runtime-core.esm-bundler.js?5c40:4035)
at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
at effect (reactivity.esm-bundler.js?a1e9:17)
at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4018)
at mountComponent (runtime-core.esm-bundler.js?5c40:3976)
at processComponent (runtime-core.esm-bundler.js?5c40:3936)
at patch (runtime-core.esm-bundler.js?5c40:3547)
at mountChildren (runtime-core.esm-bundler.js?5c40:3736)

Luster-lyl wrote this answer on 2021-04-04

I have the same problem about how to use this in Vue3 project, and some errors are as follows:

index.js?3b58:1 Uncaught (in promise) TypeError: Cannot read property '_c' of undefined
at Proxy.n (index.js?3b58:1)
at renderComponentRoot (runtime-core.esm-bundler.js?5c40:846)
at componentEffect (runtime-core.esm-bundler.js?5c40:4275)
at reactiveEffect (reactivity.esm-bundler.js?a1e9:42)
at effect (reactivity.esm-bundler.js?a1e9:17)
at setupRenderEffect (runtime-core.esm-bundler.js?5c40:4258)
at mountComponent (runtime-core.esm-bundler.js?5c40:4217)
at processComponent (runtime-core.esm-bundler.js?5c40:4177)
at patch (runtime-core.esm-bundler.js?5c40:3788)
at mountChildren (runtime-core.esm-bundler.js?5c40:3970)

kirillmurashov wrote this answer on 2021-04-05

I'm working on it, a vue3 compatible version will be released today or tomorrow

kirillmurashov wrote this answer on 2021-04-07

The component code has been greatly improved,
I have released version 1.5.1 for Vue2 and version 2.0.0 for Vue3

Please use "npm i -s [email protected]" for use in Vue3

The vue3 branch has completely rewritten the demo using the composition API. For examples of how to use it, go there

Luster-lyl wrote this answer on 2021-04-08

Thank you so much!
It's so helpful !

wondrahy wrote this answer on 2021-04-10
More Details About Repo
Owner Name kirillmurashov
Repo Name vue-drag-resize
Full Name kirillmurashov/vue-drag-resize
Language JavaScript
Created Date 2018-04-26
Updated Date 2022-11-25
Star Count 1764
Watcher Count 24
Fork Count 291
Issue Count 89

YOU MAY BE INTERESTED

Issue Title Created Date Updated Date