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