0Pricing
Vue Academy · Lesson

Plugin Development

Create installable Vue plugins.

What Is a Plugin?

A Vue plugin packages app-level functionality you can install in one call: global components, directives, properties, or third-party integrations. Plugins are how libraries like Vue Router and Pinia plug into your app.

The install Function

A plugin is an object with an install method (or simply a function). Vue calls it with the app instance and any options you pass.

export const myPlugin = {
  install(app, options) {
    // set up global features here
  }
}

All lessons in this course

  1. Mixins and Custom Directives
  2. Plugin Development
  3. Scalable Folder Structure
← Back to Vue Academy