S
S
semki0962017-05-20 16:18:52
Vue.js
semki096, 2017-05-20 16:18:52

How to pass a variable from another function to a Vuejs instance?

Let's say there is some function that returns $node, how now to pass this variable to the Vue instance?

var app = new Vue({
  el: '#app',
  data: {
    message: $node
  }
})

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question