This repository has been archived by the owner on Feb 7, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 378
Can i use mixins global in vue? i am use typescript with vue #226
Comments
I have this same question. I've tried augmenting types shown here: https://vuejs.org/v2/guide/typescript.html#Augmenting-Types-for-Use-with-Plugins |
Solution:
|
Can you sure it work? I also do that but it's not working |
Yep, I'm sure it works for me. I'm not sure why it wouldn't be working for you :( |
@CuongStf |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
if i call function $notify (in file mixins and declared in main.ts) by this or Vue. ts will show error this function doesn't exist in module. So how to can call this function in the component?
The text was updated successfully, but these errors were encountered: