tailwind icon indicating copy to clipboard operation
tailwind copied to clipboard

a example of tailwindcss v4.0

Open compile-js opened this issue 8 months ago • 1 comments


@layer theme, base, components;
@import "tailwindcss/theme.css" layer(theme);
@import "tailwindcss/utilities.css" layer(utilities);

can you apply this example into README.md if you don't use it,you will get

Error: undefined:4:1: missing '{'

or

selector missing 

you are not allowed to use @import "tailwindcss" or @import "tailwindcss/preflight.css" layer(base);

compile-js avatar Apr 10 '25 03:04 compile-js