Create 2019-06-06-using-transition-props-vuejs.md

This commit is contained in:
Oliver Davies 2019-06-06 19:39:05 +01:00
parent d524672956
commit abe9c771f3

View file

@ -0,0 +1,10 @@
---
title: Using Transition Class Props in Vue.js
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>'
} %}