16 lines
214 B
Plaintext
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
|