Using Transition Class Props in Vue.js
Warning: This post is over a year old. I don't always update old posts with new information, so some of this information may be out of date.
Adam Wathan shows a more Tailwind-esque approach to writing Vue.js transitions.
🔥 Using the transition class props instead of the
nameprop for @vuejs transitions makes it really easy to compose transitions on the fly using utility classes.
This is how I do all my transitions in Vue these days — fits a lot better with the @tailwindcss philosophy 👌🏻 pic.twitter.com/shQCxaFZ8A— Adam Wathan (@adamwathan) April 18, 2019