2023-12-01 19:56:14 +00:00
|
|
|
defmodule BoardWiseWeb.ReactController do
|
|
|
|
use BoardWiseWeb, :controller
|
|
|
|
|
2023-12-03 22:54:18 +00:00
|
|
|
def mount(conn, _params) do
|
2023-12-01 19:56:14 +00:00
|
|
|
# Set `layout` to false to bypass the app layout. The goal here is to
|
|
|
|
# eventually migrate away from the React app as is defined in favor of
|
|
|
|
# Phoenix related components. Exposing this mount point is the first step
|
|
|
|
# in migrating away from Vercel into a self-hosted solution.
|
2023-12-03 22:54:18 +00:00
|
|
|
render(conn, :mount, layout: false)
|
2023-12-01 19:56:14 +00:00
|
|
|
end
|
|
|
|
end
|