You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An optional svelte class is not working with line breaks in HTML only when using JIT.
Reproduce:
Install and run:
npm install
npm run dev
Open http://localhost:5000
The text is black.
Change lines 6 - 8 in src/App.sveltefrom:
<divclass:text-green-500={hover}>
to
<divclass:text-green-500={hover}>
The text turns green.
This only happens in jit mode.
The text was updated successfully, but these errors were encountered:
tobx
changed the title
[Bug]: Special svelte class causes bug only when using JIT
[Bug]: Optional svelte class not working with line breaks in HTML when using JIT
Apr 25, 2021
What version of Tailwind CSS are you using?
2.1.2
What build tool (or framework if it abstracts the build tool) are you using?
Svelte 3.35.0
What version of Node.js are you using?
15.14.0
What browser are you using?
Firefox, Safari, Chrome
What operating system are you using?
macOS
Reproduction repository
https://github.com/tobx/tailwind-svelte-reproduction
Describe your issue
An optional svelte class is not working with line breaks in HTML only when using JIT.
Reproduce:
http://localhost:5000
src/App.svelte
from:This only happens in jit mode.
The text was updated successfully, but these errors were encountered: