FrontendDeveloper.in

Vue.js Track Detail

What is vue instance?

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.