Put in order · Vue.js course · Module 14: Directives & Plugins

Steps for creating a plugin

Arrange the steps for creating and using a Vue plugin in the correct order:

Items to put in order

  • Call app.use(plugin, options)
  • Use inject() in the component
  • Create an object with an install(app, options) method

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