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.0 support #1638

Closed
octref opened this issue Jan 13, 2020 · 5 comments
Closed

Vue 3.0 support #1638

octref opened this issue Jan 13, 2020 · 5 comments

Comments

@octref
Copy link
Member

octref commented Jan 13, 2020

https://github.com/vuejs/vetur/tree/vue3 should support it by wrapping default export in createComponent.

@yyx990803 I only see createComponent with 3.0.0-alpha.1. Do you still plan to rename this to defineComponent? Is there an issue I can follow?

I see that createComponent is already replaced with defineComponent in https://github.com/vuejs/vue-next, but these changes aren't published.

@yyx990803
Copy link
Member

We will be publishing 3.0.0-alpha.2 very soon.

@yyx990803
Copy link
Member

Alpha 2 is out. However I noticed defineComponent was in fact already in alpha 1: https://unpkg.com/browse/@vue/runtime-core@3.0.0-alpha.1/dist/runtime-core.d.ts - maybe there was a version mismatch of some sort?

@octref
Copy link
Member Author

octref commented Jan 14, 2020

@yyx990803 🤦‍♂I pulled the sample code that updated package.json but didn't run yarn again.

#1645 should fix this.

@octref octref closed this as completed in 476e4bc Jan 14, 2020
@octref octref added this to the February 2020 milestone Feb 18, 2020
@mika76
Copy link

mika76 commented May 9, 2020

Is there a vue 3 issue or miletstone that can be tracked maybe? I mean vetur pretty much works but multiple root nodes currently give errors and there are one or two other things I've hit...

@Spittal
Copy link

Spittal commented Jun 2, 2020

I'm also curious about the state of supporting fragments?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants