local-kak-snippets/snippets/elixir/liveview
2020-07-09 00:57:34 -04:00

16 lines
202 B
Plaintext

defmodule {Package}.{Name}Live do
use {Package}
@impl true
def mount(_params, _session, socket) do
{:ok, assign(socket)}
end
def render(assigns) do
~L"""
"""
end
{body}
end