I have this code that works fine in pure html/javascript, but not in vuejs. I have this function named myMethod(). When debugging in the javascript console,I can access it like this: myMethod("toto"). But in vuejs it is only accessible like this: $vm0.myMethod("toto").
I absolutely need it to be accessible like this: myMethod("toto").
Is that even possible in vue?
Thanks in advance.