I have a pre-compiled ember.js app (which fronted-js-framework shouldn\'t matter here), which basically consists of a folder with a index.html file, and a few js/css assets.
I think easiest way to replace web/templates/layout/app.html.eex
with your index html and change assets path inside with <%= static_path(@conn, "/js/app.js") %>
helpers to grab your ember app js file from static folder.
Router part:
scope "/", Chat do
pipe_through :browser
get "/", PageController, :index
end
And inside action render conn
.