Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to support .leex templates? #155

Open
solars opened this issue Apr 19, 2019 · 3 comments
Open

Possible to support .leex templates? #155

solars opened this issue Apr 19, 2019 · 3 comments
Assignees

Comments

@solars
Copy link

solars commented Apr 19, 2019

Hi there,

I wondered if it is possible to support .leex (liveview) templates as well?

Thanks!

@doomspork
Copy link
Member

@solars I don't see why not but we may need to revise the phoenix library. Would you be interested in taking a shot at that?

@solars
Copy link
Author

solars commented May 1, 2019

I'd like to - but I'm only starting with Elixir

@skovmand
Copy link

This could be really nice to have.

When using slime with Phoenix Liveview, LiveView sends the entire template to the client on every re-render instead of the template diff (which is supported for .leex).

See also the example in the Phoenix LiveView docs:
https://hexdocs.pm/phoenix_live_view/Phoenix.LiveView.html#module-example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants