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
Hi, I can't get the tailwindcss @apply directive to work with multilines:
The following works:
@layer components
.input@apply px-10// Works with single classes on a single line@applyborder border-gray-300// Works with multiple classes on the same line
The following breaks:
@layer components
.input // One class per line doesnt work@apply
px-10border
border-gray-300 // Using parenthesis doesn't work@apply (
px-10border
border-gray-300)
// Using \ doesn't work@apply \
px-10 \
border \
border-gray-300 // Using a semicolon at the end of each line doesn't work@apply px-10,
border,
border-gray-300
I am wondering if I am doing something wrong here?
The text was updated successfully, but these errors were encountered:
Hi, I can't get the tailwindcss
@apply
directive to work with multilines:The following works:
The following breaks:
I am wondering if I am doing something wrong here?
The text was updated successfully, but these errors were encountered: