This repository was archived by the owner on Apr 6, 2021. It is now read-only.
This repository was archived by the owner on Apr 6, 2021. It is now read-only.
Svelte's conditional class syntax is not picked up correctly #71
Closed
Description
First of all, thank you for the great work on Tailwind and JIT in particular, I'm really enjoying the new DX.
I tried to put together a new side project using Svelte + Vite + Tailwind and I couldn't get the JIT to recognize Svelte's conditional class syntax:
<h1 class:text-blue-500={shouldBeBlue}>Hello, World</h1>
Here's a fairly minimal repro: https://github.com/Gustorn/tailwind-svelte-repro