local-kak-snippets/snippets/elixir/liveview
2020-07-28 00:12:58 -04:00

16 lines
214 B
Plaintext

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