mhanberg / temple

An HTML DSL for Elixir and Phoenix
MIT License
485 stars 19 forks source link

Compatibility with liveview? #5

Closed mindreframer closed 5 years ago

mindreframer commented 5 years ago

Working example here: https://github.com/slime-lang/phoenix_slime/commit/604e46b26eafe070b536f5e767771883143bb23b

Cheers!

mhanberg commented 5 years ago

@mindreframer

The way Slime and Calliope work is by targeting EEx as the output. This allows them to pipe that into the normal LiveView toolchain.

However I have some ideas that might work!

mindreframer commented 5 years ago

Excited to see them! This could a really great addition to the ecosystem.

Good luck!

jwbrew commented 5 years ago

+1 to this. have just migrated a project to Temple and loving it. would be great to use it for liveview too.

@mhanberg do you have a channel for discussion? interested in talking about the process

mhanberg commented 5 years ago

@jwbrew I created a channel in the Elixir slack: https://elixir-lang.slack.com/messages/CMH6MA4UD

mhanberg commented 5 years ago

Phoenix LiveView was released to Hex!

Hopefully the documentation and implementation is stable enough to start digging into this 💪

mhanberg commented 5 years ago

Closing in favor of #26