-
Notifications
You must be signed in to change notification settings - Fork 186
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
Throws error when component use mixin - Typescript #125
Comments
Hi @akki-jat , it's working for me - https://codesandbox.io/s/2vkn88jv4r. Can you please prepare CodeSandbox (you can fork above one) or GitHub repository showing the problem? Can you please write what does this mixin have? Lifecycle hooks or sth else? Regards! |
@karol-f , I am talking about Typescript. |
Hi @karol-f, sorry for delay. Here the CodeSandboxhttps://codesandbox.io/s/xp9v0rk40o pls. check console for _Ctor |
Fixed in https://github.com/karol-f/vue-custom-element/releases/tag/v3.2.1. Thanks! You can check that it's working - https://codesandbox.io/s/qxzo29y4l9 |
Thanks @karol-f. |
When we create custom element with component which uses mixin its gives error.
Console Error
Cause of the Error
It cannot find _Ctor[0]
The text was updated successfully, but these errors were encountered: