Link:  https://medium.com/js-dojo/creating-custom-directives-in-vue-js-286142392fd8

Jennifer Bland shows us how to create custom directives in Vue.js.

create a custom directive in vue