--- title: Using Transition Class Props in Vue.js date: 2019-06-06 type: tweet excerpt: Adam Wathan shows a more Tailwind-esque approach to writing Vue.js transitions. tags: [vuejs] external_url: https://twitter.com/adamwathan/status/1118670393030537217 --- {% include 'tweet' with { content: '🔥 Using the transition class props instead of the `name` prop 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' } %}