wimdeblauwe / htmx-spring-boot

Spring Boot and Thymeleaf helpers for working with htmx
Apache License 2.0
436 stars 41 forks source link

Investigate webcomponents #28

Closed wimdeblauwe closed 1 year ago

wimdeblauwe commented 1 year ago

Not sure if it belongs in this library, since it is not strictly tied to htmx, but I wonder if we could support webcomponents like https://github.com/EmilStenstrom/django-components and https://viewcomponent.org/ do. This ticket is just for gathering ideas and links around this for now.

https://lit.dev/ might also be interesting.

checketts commented 1 year ago

I'm looking into using Flowbite (with Tailwind CSS) templates and extracting those into reusable templates that I can use in Thymeleaf (and HTMX). Perhaps I'll learn something useful.

wimdeblauwe commented 1 year ago

This problem is being solved very nicely at https://github.com/tschuehly/spring-view-component