Vue.js: Import class with function and call it in child component
问题 I have a component my-parent . In this component, I use a child component my-child and import an external class MyClass with an own function exportedFunction . I tried to use this solution: VueJS accessing externaly imported method in vue component Basiclly, I use mounted and the name of the function from the imported class. In methods I defined a new method, which calls the mounted one from the imported class. Than I pass the created method as property to my child, where I try to call the