From abe9c771f3fa115678c5d62b15bcaf04a451bf15 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 6 Jun 2019 19:39:05 +0100 Subject: [PATCH] Create 2019-06-06-using-transition-props-vuejs.md --- .../_posts/2019-06-06-using-transition-props-vuejs.md | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 source/_posts/2019-06-06-using-transition-props-vuejs.md 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' +} %}