diff --git a/source/_posts/2019-06-06-using-transition-props-vuejs.md b/source/_posts/2019-06-06-using-transition-props-vuejs.md new file mode 100644 index 00000000..562aada7 --- /dev/null +++ b/source/_posts/2019-06-06-using-transition-props-vuejs.md @@ -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 @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' +} %}