-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 #476
Comments
Agree, that would help getting ready. |
Vue 3 has been released. It is now the current version. When will this component be updated? We are building on Vue 3. |
I've made one echarts-for-vue, it is compatible with Vue 3 and 2. |
What I found: https://www.npmjs.com/package/vue3-echarts 🤣 🤣 |
Hi everybody,
|
Thank you, it works for me. https://v3.vuejs.org/guide/migration/listeners-removed.html#_3-x-syntax
Object.keys(this.$attrs).forEach(attr => {
const handler = this.$attrs[attr]
if (attr.indexOf('zr:') === 0) {
chart.getZr().on(attr.slice(3), handler)
} else if (attr.indexOf('on') === 0) {
chart.on(attr, handler)
}
}) |
Hi everyone, sorry for the late response. Based on Apache ECharts 5, |
As Vue 3 has RC It will be a good idea to add support for Vue 3.
Currently, if we use this package with Vue 3 we are getting error.
The text was updated successfully, but these errors were encountered: