Skip to content

a example of tailwindcss v4.0 #197

@compile-js

Description

@compile-js
@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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions