• +91 9723535972
  • info@interviewmaterial.com

Vue JS Interview Questions and Answers

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
})

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners