-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
Closed
Description
What version of @tailwindcss/jit are you using?
0.1.18
What version of Node.js are you using?
12.18.1
What build tool (or framework if it abstracts the build tool) are you using?
webpack 5, postcss 8, tailwindcss 2.0.4
What browser are you using?
all of them, doesn't matter
What operating system are you using?
doesn't matter (windows, wsl, linux)
Reproduction repository
https://github.com/kkarpeev/svelte-tailwind-template
Hello. JIT skips classes specified in a class: directives in .svelte or html files. Svelte is a top-6 js framework in 2020 (according to some TOPs).
Please, add support for this directive asap.
See this small description (and that's all):
If you try the repo (thanks to @non25) you'll see that jit ignores class:w-4={!active}. This class appears on <button... element in this example.
There are two variants for using this directive:
- class:whatever-class-name123_
- class:whatever-class-name123_={some_boolean_expression}
Thank you in advance!
dimfeld, pikeas, istarkov, theonaciri and denovodavid
Metadata
Metadata
Assignees
Labels
No labels