I didn't find a useful case where I needed a custom vue directive in my side-projects yet, but maybe you did. Tell me about it!
For further actions, you may consider blocking this person and/or reporting abuse
I didn't find a useful case where I needed a custom vue directive in my side-projects yet, but maybe you did. Tell me about it!
For further actions, you may consider blocking this person and/or reporting abuse
dev.to staff -
Vitalii Sevastianov -
Brijesh Dobariya -
Andy Larkin -
Oldest comments (2)
I didnt have to use any directives (not even built-in ones), but again, my project may not be big enough.
Change the colour of a div depending on which dropdown you select. We used this for an internal Pallete system for websites rather than us trying to remember the hex value we stored it on the site and changed the background colour for a preview.