Answer the question
In order to leave comments, you need to log in
How to get variable from vue.js component?
Hello
To get a variable from an instance, you can simply do this
var app = new Vue({ ...
And in another instance you can get
app.message
For example
https://jsfiddle.net/9yerk3Lz/
but this does not work with components
https:/ /jsfiddle.net/c9xa7h63/ The
question is how to get a variable from a vue component to an instance?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question