-
Notifications
You must be signed in to change notification settings - Fork 35
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
Update to Vue3? #230
Comments
Yeah, I've been thinking about how best to do this. The best approach seems to be to remove the functional keyword from the template. It'll be a minor perf regression in Vue 2, but will work with Vue 3. I'm not in any huge rush though. Vue 3 has only been soft-launched, and nobody will be seriously using it until 2021. |
Any updates on this issue? |
Ah I'll push something out this weekend. I sort of assumed people aren't using Vue3 yet, given there is no ecosystem |
This is my local commit for Vue 3 compatibility: ynte@6063281 I haven't been able to get any test setup working yet, so couldn't really make an pull request. |
Im using Vue 3. Here is an example of how I fixed one of the icons to work with Vue 3 Previous
Vue 3 Compatible
|
@khari998 Is the above compatible with 2 AND 3? Or are they mutually exclusive? |
@robcresswell what @khari998 wrote for v3 compatibility doesn't make sense, since it's using data and not props. My understanding is for v3 compatibility, you'd convert all functional components to standard components. This would be backwards compatible but not in terms of performance. Not a big deal imo, but I'd bump a major version. https://v3.vuejs.org/guide/migration/functional-components.html |
Any news about v3 compatibility? |
I've not really looked into it. It sounds like a revert of 4a0dead might do it. I don't use Vue any more though, so the risk of me breaking things is quite high. |
Recent versions of @vue/compiler-sfc fx. 3.2.11 reject the icon component templates purely based on the presence of the "functional' attribute / directive in the template header. Removing it made them compile for me. |
Hi everyone, like @robcresswell wrote, he doesn't seem to use Vue anymore, so I think it's better to use this one: https://github.com/vyperium/mdue |
Should be addressed by |
Hi there,
The newest version of vue is finally here
And I would like to know if there will be an update to this repo for the new version of vue.
The text was updated successfully, but these errors were encountered: