hybridsjs/hybrids

Tailwind integration

Closed this issue · 2 comments

Hi,

I'm aiming to build a library of WebComponents styled with Tailwind.

Do you have any recommandation on how to achieve this integration with Hybrids ?

I'm not a Tailwind user, but the comment from another issue might be helpful for you: #120 (comment)

In short, if you can produce text content of the CSS from another file (which can be processed by the Tailwind), you can easily apply those styles by .style() helper of the template engine.

The technique describe in this comment works well.
Thanks a lot. Huge time saving.