Vue.elementDirective('red-color', { bind: function () { this.el.style.color = 'red'; } });
<red-color>1232</red-color>