DEV Community

Discussion on: How to set up Tailwind CSS with Yew and Trunk

Collapse
 
itflyingstart profile image
ItFlyingStart

Never mind. I have made it work after using yew-tailwind-builder. Apparently tailwindcss -o ./tailwind.css doesn't generate the complete css file.

Collapse
 
phughk profile image
Przemyslaw Hugh Kaznowski

Thanks for the hint! Turns out you need the config file for it to generate the tailwind. I then export tailwind without minify - it is 12kb when I only access a single colour bg-red-100 for testing.