Mounts Fablebook in a Phoenix router.
Mount it inside the dev_routes block that phx.new generates, so it is
never reachable in a prod build:
if Application.compile_env(:my_app, :dev_routes) do
import Fablebook.Router
scope "/dev" do
pipe_through :browser
fablebook "/fablebook", MyAppWeb.Storybook
end
endA mount that a prod build can reach fails to compile.
Summary
Functions
Mounts the workbench for book at path.