Backdoor v0.0.1-dev Backdoor.Router View Source
Provides LiveView routing for Backdoor.
Link to this section Summary
Functions
Defines a Backdoor route.
Link to this section Functions
Defines a Backdoor route.
It expects the path
the backdoor will be mounted at
and a set of options.
Options
:live_socket_path
- Configures the socket path. it must match thesocket "/live", Phoenix.LiveView.Socket
in your endpoint.
Examples
defmodule MyAppWeb.Router do
use Phoenix.Router
import Backdoor.Router
scope "/", MyAppWeb do
pipe_through [:browser]
backdoor "/web_console"
end
end