News for hackers. Stuff that matters.
Re:HTMx by justusw on Friday May 26, 2023 @02:07AM (#36080607)
On the one hand I see the appeal of staying inside, say, Django the whole time and getting 3x done.

On the other hand I am so pampered by front end component based templating especially with Tailwind.

It would be cool if I could just import my Svelte components from Django.

Re:HTMx by adieth on Friday May 26, 2023 @03:27PM (#36088551)
Have you looked at something like Slippers[1]? It allows you to have a set of components that you use in Django templates. I'm using Bulma, not Tailwind, for my project and I like how it creates an abstracts over e.g. CSS classes.

[1]: https://mitchel.me/slippers/docs/introduction/