Skip to content
This repository has been archived by the owner on Feb 7, 2024. It is now read-only.

Vue3 compatibility #348

Closed
wants to merge 1 commit into from
Closed

Conversation

lzurbriggen
Copy link

  • Updated vue-class-component to 8.0.0-beta.4 for Vue3 compatibility
  • InjectKey is not exported anymore, had to be defined locally
  • PropOptions is indirectly exported via Prop
  • @Compontent was renamed to @Options in vue-class-component. I imported it as Component so the vue-property-decorator API doesn't change. Maybe this should be aliased to also allow @Options.

If someone else is working on this, feel free to close this PR.

(This should probably only be merged after [email protected] is stable)

@LifeIsStrange
Copy link

LifeIsStrange commented Oct 9, 2020

Will this allow us to use @watch and @provide and all other decorators like before ?
Can we already use this PR, is it functionally working ?

@LifeIsStrange
Copy link

@kaorun343

@lzurbriggen
Copy link
Author

I was a little too optimistic, barely anything works at the moment and I probably won't have time to fix it up in the near future.

@LifeIsStrange I think this mainly depends on how extensible vue-class-components's setup function is, I think that could be easy to do if this proposal is implemented.

Closing this for now. I also think this should wait until vue-class-component stabilizes.

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

Successfully merging this pull request may close these issues.

None yet

2 participants