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

support for Vue 3.0 #70

Open
cricketthomas opened this issue Jul 1, 2020 · 6 comments
Open

support for Vue 3.0 #70

cricketthomas opened this issue Jul 1, 2020 · 6 comments

Comments

@cricketthomas
Copy link

This is a great visualization with a ton of nice features. As Vue 3.0 is in beta, I am wondering if there are plans to upgrade the lib to vue 2.6.11+ and eventually Vue 3.0. After some testing, it doesn’t seem to work with Vue 3, https://jsfiddle.net/3oknz02v/1/show citing this error:

Cannot convert undefined or null to object
        at hasOwnProperty (<anonymous>)
        at Object.get (vue.global.js:10086)
        at Proxy.updateOptions (vue-d3-network.vue:227)
        at Proxy.created (vue-d3-network.vue:137)
        at callSyncHook (vue.global.js:9921)
        at applyOptions (vue.global.js:9873)
        at finishComponentSetup (vue.global.js:10467)
        at setupStatefulComponent (vue.global.js:10395)
        at setupComponent (vue.global.js:10335)
        at mountComponent (vue.global.js:8119)

I’ve been trying to upgrade the library but I can’t exactly pinpoint where this is occurring and it doesn’t appear that any of Vue 3’s breaking changes are present in this library. Do you think this is a vue 3 bug?

@davay42
Copy link

davay42 commented Dec 25, 2020

Same problem

@awallemo
Copy link

Is d3-network compatible with Vue3? I am getting errors..

@SkyloveQiu
Copy link

same error here, no way to fix it.

@michalhudecek
Copy link

Any updates on this?

@bhanu2217
Copy link

Any plans for Vue 3 support?

@l-kotzur
Copy link

If you arrived here, an alternative is package for vue 3 is: https://github.com/dash14/v-network-graph

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants