Question · Vue.js course · Module 14: Directives & Plugins

Plugin provide/inject

How do you make data from a plugin available to components?

Answer options

  • Through a Vuex store
  • Through localStorage
  • Through app.config.globalProperties
  • Through app.provide() and inject()

You can check the correct answer by solving this task in the CodeWorlds game.