Closed miolab closed 3 years ago
$ docker-compose exec app bash -c "cd my_app && mix phx.routes"
page_path GET / MyAppWeb.PageController :index
watchme_path GET /watchme MyAppWeb.WatchmeController :index
live_dashboard_path GET /dashboard Phoenix.LiveView.Plug :home
live_dashboard_path GET /dashboard/:page Phoenix.LiveView.Plug :page
live_dashboard_path GET /dashboard/:node/:page Phoenix.LiveView.Plug :page
websocket WS /live/websocket Phoenix.LiveView.Socket
longpoll GET /live/longpoll Phoenix.LiveView.Socket
longpoll POST /live/longpoll Phoenix.LiveView.Socket
websocket WS /socket/websocket MyAppWeb.UserSocket
http://localhost:4000/watchme
概要
以下リポジトリの内容をベースに、ページ追加する
https://github.com/miolab/phoenix_dev_containers#%E6%96%B0%E8%A6%8F%E3%83%9A%E3%83%BC%E3%82%B8%E3%82%92%E8%BF%BD%E5%8A%A0%E3%81%97%E3%81%A6%E3%81%BF%E3%82%8B%E4%BB%BB%E6%84%8F
/watchme
でレンダリングする