Closed
Description
When trying to use space-x-* or space-y-* I get an build error say:
Syntax error:
@apply
cannot be used with.space-x-4
because.space-x-4
either cannot be found, or its actual definition includes a pseudo-selector like :hover, :active, etc. If you're sure that.space-x-4
exists, make sure that any@import
statements are being properly processed before Tailwind CSS sees your CSS, as@apply
can only be used for classes in the same CSS tree.
The classes gets build in the css file, if I dont purge first, but it can be used with @apply
Im using Tailwindcss 1.4.6
Metadata
Metadata
Assignees
Labels
No labels