FrontendDeveloper.in

Vue.js question 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.

Back to all Vue.js questions
Get LinkedIn Premium at Rs 399