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 Vue3 #101

Open
fusionswap opened this issue Jan 30, 2021 · 1 comment
Open

support for Vue3 #101

fusionswap opened this issue Jan 30, 2021 · 1 comment

Comments

@fusionswap
Copy link

fusionswap commented Jan 30, 2021

Hi,

Is there Vue3 version for this vue-tree-list.

I tried to poc this with Vue3. I get error in the beforeCreate lifecycle hook in VueTreeList.vue at this line
this.$options.components.item = require('./VueTreeList').default

Browser logs says
Uncaught (in promise) TypeError: Cannot set property 'item' of undefined
at Proxy.beforeCreate (JsonSchemaTree.vue?2fce:218)
at callWithErrorHandling (runtime-core.esm-bundler.js?5c40:154)
at callWithAsyncErrorHandling (runtime-core.esm-bundler.js?5c40:163)
at callSyncHook (runtime-core.esm-bundler.js?5c40:5710)
at applyOptions (runtime-core.esm-bundler.js?5c40:5491)
at finishComponentSetup (runtime-core.esm-bundler.js?5c40:6309)
at setupStatefulComponent (runtime-core.esm-bundler.js?5c40:6245)
at setupComponent (runtime-core.esm-bundler.js?5c40:6185)
at mountComponent (runtime-core.esm-bundler.js?5c40:3960)
at processComponent (runtime-core.esm-bundler.js?5c40:3936)

this.$options.components is undefined in this case.

@tobiasdiez
Copy link

@ParadeTo any update on this issue? Would you except a PR that provides vue3 support?

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

2 participants