Skip to content

Angular class binding no longer working with 3.4.5+ #14011

Closed
@VoigtK

Description

@VoigtK

With the release of version 3.4.5, and the merged pull request #13959 the single CSS class binding in angular is no longer recognised as css class.

For example I have html with

<div class="flex flex-col" [class.ml-2]="active">
</div>

The css class is not recognised by tailwind and therefore not added to the styles.css

Changing the code to

<div class="flex flex-col ml-2">
</div>

it is added to the resulting styles.css again.

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