0 votes
in VueJS by
What is vue instance in VueJS?

1 Answer

0 votes
by

Every Vue application works by creating a new Vue instance with the Vue function. Generally the variable vm (short for ViewModel) is used to refer Vue instance. You can create vue instance as below,

var vm = new Vue({

  // options

})

As mentioned in the above code snippets, you need to pass options object. You can find the full list of options in the API reference.

Related questions

0 votes
0 votes
asked Jan 9, 2020 in VueJS by GeorgeBell
...