Skip to content

Adding TW utilities classes to the component <Host> on JSX is not applying the classes as expected #15

@Poimen

Description

@Poimen

Doing:

<Host class="flex items-center justify-center fixed left-0 top-0 h-screen w-full">

doesn't compile/build the classes.

But if the classes are moved to CSS, then work just fine:

:host {
  @apply flex items-center justify-center fixed left-0 top-0 h-screen w-full;
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions