Coding task · Vue.js course · Module 14: Directives & Plugins

Practice: v-color Directive

Create a v-color directive in shorthand form (function) that changes the text color of an element.

Task

Use the shorthand directive form (function instead of object) to set the text color.