3 ms·
How does HTMX work with Tailwind? If I return some HTML from my backend, then the Tailwind scanner won't have found the css selectors, so it won't be in the ge
by aembleton 3y ago
How does HTMX work with Tailwind? If I return some HTML from my backend, then the Tailwind scanner won't have found the css selectors, so it won't be in the generated CSS.
What am I missing?
- cwales95 3y agoHave tailwind scan your backend files as well or have a list of classes needed included in your tailwind config which should not be purged.
- Capricorn2481 3y agoTailwind does let you specify files other than HTML/css. I point mine at .cljs files. Can you point it to whatever files are generating your html?