Question - How to use a plugin? 
          
        
        Answer - 
        
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
})