FrontendDeveloper.in

Vue.js question detail

How to use a plugin?

You can use plugin by passing your plugin to Vue's use global method. You need to apply this method before start your app by calling new Vue().

// calls `MyPlugin.install(Vue, { someOption: true })`
Vue.use(MyPlugin)

new Vue({
//... options
})
Back to all Vue.js questions
Get LinkedIn Premium at Rs 399