oliverdavies.uk/source/_posts/using-transition-props-vuejs.md

14 lines
935 B
Markdown
Raw Normal View History

2021-06-30 07:00:00 +00:00
---
title: Using Transition Class Props in Vue.js
date: 2019-06-06
type: tweet
2021-07-09 16:32:30 +00:00
excerpt: Adam Wathan shows a more Tailwind-esque approach to writing Vue.js transitions.
tags:
- vuejs
2021-06-30 07:00:00 +00:00
external_url: https://twitter.com/adamwathan/status/1118670393030537217
---
{% include 'tweet' with {
content: '🔥 Using the transition class props instead of the `name` prop for <a href="https://twitter.com/vuejs?ref_src=twsrc%5Etfw">@vuejs</a> transitions makes it really easy to compose transitions on the fly using utility classes.<br><br>This is how I do all my transitions in Vue these days — fits a lot better with the <a href="https://twitter.com/tailwindcss?ref_src=twsrc%5Etfw">@tailwindcss</a> philosophy 👌🏻 <a href="https://t.co/shQCxaFZ8A">pic.twitter.com/shQCxaFZ8A</a></p>&mdash; Adam Wathan (@adamwathan) <a href="https://twitter.com/adamwathan/status/1118670393030537217?ref_src=twsrc%5Etfw">April 18, 2019</a>'
} %}