Question

I am following one reference to create demo chat app in elixir and understood very well how is it working. But i am not so sure how can i create templates in Elixir to implement the same chat room in UI rather than terminal. Can anybody suggest something on this.

Was it helpful?

Solution

I think, if I'm understanding your question, you want to look at EEx:

http://elixir-lang.org/docs/stable/eex/

Check on Phoenix as well because I believe Phoenix uses EEx too. Specifically check this: https://github.com/phoenixframework/phoenix#template-engine-configuration

Hope it helps.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top