How to pass data from an external script to a Vue component #10284
Replies: 1 comment
-
I have workaround this problem by solving my other question |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've posted another question about the same problem, only now I intend to solve it from another angle.
In my index.html file, I have a script with a function that, when invoked, must pass data to a Vue component.
I have tried to place the function inside the component but I cannot invoke it and it appears as undefined. You can see my other question to see what I mean.
In my tests, when I placed the function directly in the index.html file, it could be called without problems. So now I intend to use it from there, but I need it to pass data to my component.
How do I do it?
Beta Was this translation helpful? Give feedback.
All reactions