Open yoshikev opened 6 years ago
Sorry i forgot to attached
Sorry, I don't know much about Vue. The _ready
method is new to me, the underscore probably indicates it's a private method, not something that zoom would have intentionally called.
I would check that the $
aliases the same object that the required script is referencing for jQuery, but that's probably not the issue because that error would be something like $(...).zoom is not a function
.
when i remove the _ready() function, TypeError: $(...).zoom is not a function error is out.
Sound like when the zoom package was required it did not extend the same jQuery object that you are referencing when you type $('.zoom')
. Try replacing the $
alias with jQuery
first, and if that doesn't work, you'll probably have to have a look at the file you are requiring to see how it's referencing jQuery.
Thank you. Will try it and update u if i manage to get it.
Hi,
I tried to import jqyuery zoom into my vue project. it prompt this error when i try to initalized the zoom : TypeError: $(...)._ready is not a function
Please help me to find out if it works well with vue. Thank you