examples icon indicating copy to clipboard operation
examples copied to clipboard

Create Official Tailwind Example

Open justinnoel opened this issue 11 months ago • 2 comments

It'd be great if there was an official example of how to use Taiwlind with Hono. It's a frequently asked topic on the Discord server.

For example, following the usual docs for getting Tailwind to work in dev on Cloudflare Pages works fine. However, I can't figure out how to get the CSS file to be created in a production build.

justinnoel avatar Feb 28 '24 22:02 justinnoel

@justinnoel

Thanks for the issue! I'll think about that. Just a moment!

yusukebe avatar Feb 28 '24 22:02 yusukebe

However, I can't figure out how to get the CSS file to be created in a production build.

You probably need to add a build step (in GitHub Actions or wherever you are doing this) that compiles the final CSS?

mstibbard avatar Apr 21 '24 06:04 mstibbard