Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I've made this. It's a minimal amount of work required for it to run on Vue 3 + some doc updates. Bear with me on this, this is the first time I have anything to do with a "plugin" or "library" of any (frontend) sort.
Things that still need work:
npm install
there's a bunch of deprecation notices, vodal complains about vue 2.5 dependency, etc.I have no idea why. According to https://v3.vuejs.org/guide/transitions-list.html#list-entering-leaving-transitions these tags should be working. This is however just a warning, they are rendered as HTML tags and the component is functional! 🎉
Note for anyone wokring with this:
When I was trying to import from
src
or fromdist
I couldn't get this to work whennode_modules
was present.At first I thought it was a bug in one of the JSX packages, but by chance I tried removing the
node_modules
folder duringnpm run serve
and I noticed that those files were in use. When I got rid of the folder all of the ref errors in the console were also gone WTF. When the folder is present all the library's dependencies are loaded fromnode_modules/@riophae/vue-treeselect/node_modules
causing weird errors. WTF. I've literally spent a little over a day trying to figure out those ref errors before stumbling upon the solution by accident. If someone can explain this to me please do. Restore sanity to this world.