ParadeTo / vue-tree-list

🌲A vue component for tree structure
http://paradeto.com/vue-tree-list/
MIT License
655 stars 126 forks source link

Tree List with Vue 3 #151

Open Jafesu opened 1 year ago

Jafesu commented 1 year ago

Hello!

I tried to use the Tree list (using the example code to get it started) but it is unable to load, I get the following error: Uncaught (in promise) TypeError: this.$options.components is undefined beforeCreate VueTreeList.vue:216

VueTreeList.vue line 216: beforeCreate() { this.$options.components.item = require('./VueTreeList').default },

I am using Vue 3, is there a fix for this that you know of? This component would be a HUGE help in my current project if I can get it working

Thanks

renatovaler commented 1 year ago

See: https://github.com/ParadeTo/vue-tree-list/pull/131

Jafesu commented 1 year ago

See: #131

That doesn't really help me, So, basically saying it's in progress? Looks like there has been no progress on it since July

renatovaler commented 1 year ago

That doesn't really help me, So, basically saying it's in progress? Looks like there has been no progress on it since July

That's exactly it. Vue3 is not supported yet :(

iviu23 commented 4 months ago

It would be great to have a release upgraded to catch up with the Vue3 requirements.

jcuenod commented 2 months ago

Would https://www.npmjs.com/package/vue-tree-dnd help?

smaxgbJS commented 6 hours ago

It would be great to have a release upgraded to catch up with the Vue3 requirements.

I found this other repository: https://github.com/wsfe/vue-tree, and it worked just as well for me!