sake92 / hepek

Typesafe HTML templates and static site generator in pure Scala
https://sake92.github.io/hepek/
Apache License 2.0
104 stars 10 forks source link

Support for AlpineJS #274

Closed carlos-verdes closed 2 months ago

carlos-verdes commented 6 months ago

AlpineJS is a super lightweight JS framework tied to the DOM https://alpinejs.dev/

I plan to use Hepek in combination with HTMX and Alpine, having direct DSL support will save lot of time, have better code and avoid errors at compilation

sake92 commented 3 months ago

Added basic attributes in v0.27.0

https://github.com/sake92/hepek/blob/c81238374ceef4b02100f12f625888a30db6c516/hepek-components/jvm/src/main/scala/ba/sake/hepek/alpinejs/x.scala

sake92 commented 2 months ago

I think this is it actually, 23 props as per https://alpinejs.dev/ "Simple" section. :)