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

Vue 3 Support #1291

Closed
Stovetopdropp opened this issue Jun 24, 2020 · 15 comments
Closed

Vue 3 Support #1291

Stovetopdropp opened this issue Jun 24, 2020 · 15 comments

Comments

@Stovetopdropp
Copy link

Is there any plans for Vue 3 support?
Sorry if this is already being tracked somewhere I couldnt find anything on it.

When testing out the Vue 3 beta (3.0.0-beta.15) with vue-multiselect (2.1.6) I get some compile errors

vue-multiselect/index.d.ts(8,36):
8:36 Type 'typeof import("/node_modules/vue/dist/vue")' is not a constructor function type.
     6 | declare class Multiselect extends Vue { }
     7 | declare class multiselectMixin extends Vue { }
  >  8 | declare class pointerMixin extends Vue { }
@mariusa
Copy link

mariusa commented Jul 1, 2020

Note, this is just about being usable, not porting the component to Vue 3 composition APIs.

@jehadassaf
Copy link

@shentao Now that Vue 3 is officially released, is there a plan to support it?
If there is some way we the community can help let us know.

@shentao
Copy link
Owner

shentao commented Sep 22, 2020

@jehadassaf
I’d love to have that, but I’m pretty overwhelmed currently with work+vuelidate rewrite for Vue 3.0. Once the latter is stable, I would want to revisit vue-multiselect in general. Currently, the project’s state is simply embarrassing as I was unable to finish the v3 rewrite that I started a long while ago.

Generally, it seems that with the composition-api, a lot of the problems in the rewrite could have been simplified. So there’s hope!

From more immediate problems that I could use some help with:

  • Fixing current master so that it would be ready to release
  • Evaluating how many changes would be needed to make the current master compatible with Vue 3.0

@sudip571
Copy link

@shentao
Please make it compatible with vue3. I am eagerly waiting to use it on my vue3 project

@gaetandezeiraud
Copy link

Hi, no news? Because the most recent projects I'm working on are in Vue 3.

@DM2489
Copy link

DM2489 commented Nov 25, 2020

Someone please pin this issue as it is really important for the future!

@shentao
Copy link
Owner

shentao commented Nov 26, 2020

This is planned :)

@aperezsa-btis
Copy link

How is this issue going, it is still planned to adapt to vue3?

@mattelen
Copy link
Collaborator

We've just published a Vue 3 Upgrade of the multiselect component here: https://github.com/SuadeLabs/vue3-multiselect. The idea is that it is a simple replacement for this component, without needing to tweak anything. It's a good solution while this gets the official upgrade, or could be used as a base for the official upgrade.

@shentao
Copy link
Owner

shentao commented Mar 17, 2021

Thank you @mattelen! Will look into it. Let me know if you would like to collaborate on making this official.

@mattelen
Copy link
Collaborator

@shentao yeah I'd be keen to collaborate! I sent you an email (to an address I found on your website) mid last week, so check that out, or let me know where to from here

@shentao
Copy link
Owner

shentao commented Mar 24, 2021

Hey! Sorry, had the email on my list waiting, but got buried under more emails that required my attention. Just replied. Talk to you soon!

@basilbarnaby
Copy link

Any progress on this @shentao?

@shentao
Copy link
Owner

shentao commented May 3, 2021

Thanks to @mattelen, we just released v3.0.0-alpha.1 under the next tag. See https://github.com/shentao/vue-multiselect/tree/next

@shentao shentao closed this as completed May 3, 2021
@mgiraldo
Copy link

mgiraldo commented Mar 1, 2023

i am getting this same error (vue@3.2.44 vite@4.1.4 vue-multiselect@3.0.0-beta.1)

how did folks get it to build in vue 3?

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