How to make Tailwind CSS work with Headless API?

Guys is it Possible to make Tailwind CSS work with Headless API as a code component? We are not able to get it to work out of box.

Does it require some additional tooling apart from the usual Tailwind Setup?

What issues do you see?

The styles don’t seem to apply when viewing from Studio Preview Link. I am using Headlessui + Tailwind to create a Modal component @chungwu

Would you mind sharing an example get repo that demonstrates the issue? Or if you have a live accessible app host, you can point me to a project using that.