darrenjennings / vue-autosuggest

🔍 Vue autosuggest component.
https://darrenjennings.github.io/vue-autosuggest
MIT License
621 stars 91 forks source link

feat(vue3): improve vue3 support #220

Open pikax opened 2 years ago

pikax commented 2 years ago

What: Vue3 branch is not fully vue3 compatible, this should make it compatible, but I use case is limited, seems to be working more similar to the vue2 version

Why: otherwise it doesn't work on vue3

How: Fixing the slot behaviour also by changing the dependency to vue3 instead of 2.x

Checklist:

This change was only to fix my use case, I haven't made any work to make the test and such work, if you run yarn build it will generate files that you can use on the project, it will be good that a version for vue3 would be supported on a npm tag branch.

https://github.com/darrenjennings/vue-autosuggest/issues/211