Create your own directives and reuse them!
Vue.js has directives provided as standard,
You can also create your own directives.
They are called custom directives and can be created using the Vue.directive()
function.
Vue.directive('directive name', {
hook function (e1, binding, vnode) {
}
})