Plugins offer a way to extend the global functionality of Vue by creating default behavior, adding global components, or generally creating values throughout your Vue app. Filters allow us to create reusable text transformation that we can apply to our templates. Let’s take a look at how to create and use these features in Vue.
Plugins
Plugins allow us to expand Vue to meet our needs in a manner that we can share with other Vue apps without sharing our entire app.
Creating a Plugin
To create a plugin, make a JavaScript object that exposes an install function. The install function accepts ...