-
Notifications
You must be signed in to change notification settings - Fork 433
Define mixin global does not work #83
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
Comments
@yyx990803 @ktsn Could you please help me know solve this issue? |
Currenly, Vue does not handle an extended constructor as global mixin. I already make a PR to fix this. vuejs/vue#5448 |
@ktsn Thank you so much |
@nqthiep I'm still having the exact same issue, how did you solve it? |
@ktsn The PR is resolved in 2017, it still doesn't work. Am I doing something wrong. I'm getting
|
is there a way to use Global Mixins with |
Uh oh!
There was an error while loading. Please reload this page.
Hi all,
I tried creating a mixin in the Vue-Class-Component format like below:
And I try to use it in two ways:
Option 1: Register and use that mixin locally:
With this option, it works fine.
Option 2: Register and use that mixin globally:
With this option, it throws an error:
Does anyone point out to me what the problem is?
The text was updated successfully, but these errors were encountered: