Skip to content

applyComplexClasses: true, @apply with new lines #2222

@jjjrmy

Description

@jjjrmy

This works:

.class {
    @apply min-h-screen min-w-full inset-0 fixed flex flex-col bg-white bg-center bg-no-repeat z-50 transition-all ease-in-out duration-300;
}

This does not work:

.class {
    @apply min-h-screen min-w-full inset-0
    fixed flex flex-col
    bg-white bg-center bg-no-repeat
    z-50 transition-all ease-in-out duration-300;
}

Throws an error targeting the last hanging class, in this case inset-0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions