In this chapter, we looked at creating custom directives and custom plugins in Vue. We covered how to structure custom directives, and how to make global and local custom directives. We also looked at passing values to custom directives and working with Vue plugins. We looked at how to create a couple of custom Vue plugins. Finally, we have seen how to publish our plugin to npm and how to install it in our projects from NPM.
In the chapter that follows, we will examine how to make our apps feel more interactive with the help of transitions and animations.