O'Reilly logo

Getting to Know Vue.js: Learn to Build Single Page Applications in Vue from Scratch by Brett Nelson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

© Brett Nelson 2018
Brett NelsonGetting to Know Vue.jshttps://doi.org/10.1007/978-1-4842-3781-6_10

10. Custom Functionality

Brett Nelson1 
(1)
Eagan, Minnesota, USA
 

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required