In this chapter, we will look at ways of extending Vue. First, we will code our own directives and see how we can use them. Next, we will make a custom Vue plugin.
More specifically, in this chapter, we will examine the following:
- The structure of custom directives and how to make them
- Using global and local custom directives
- Passing values to custom directives
- Authoring Vue plugins
- Publishing Vue plugins