This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
oliverdavies.uk-old-sculpin/source/_posts/using-transition-props-vuejs.md
Oliver Davies 85a10c545b Run prettier on all *.md files
```
prettier '{app,source}/**/**.md' --write
```
2020-03-08 17:57:45 +00:00

15 lines
935 B
Markdown

---
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 <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>'
} %}