Is rendering a Phoenix Component in a Surface View possible?
defmodule AppWeb.Shared do
def logo(assigns)
<img src={Routes.static_path(@conn, "/images/logo.svg")}/>
end
end
defmodule AppWeb.Shared.Components.Navbar do
use AppWeb, :surface_component
def render(assigns) do
~F"""
<.AppWeb.logo />
"""
end
end
Something like this is possible?






















