0

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.

Coder
  • 428
  • 4
  • 16

1 Answers1

2

I think, if I'm understanding your question, you want to look at EEx, the tool for evaluating code embedded in a string.

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.

s3cur3
  • 2,749
  • 2
  • 27
  • 42
Onorio Catenacci
  • 14,928
  • 14
  • 81
  • 132