Packages

Phoenix framework project generator. Provides a `mix phx.new` task to bootstrap a new Elixir application with Phoenix and Hotwire dependencies.

Current section

Files

Jump to
phx_new_hotwire templates phx_web controllers page_html.ex
Raw

templates/phx_web/controllers/page_html.ex

defmodule <%= @web_namespace %>.PageHTML do
@moduledoc """
This module contains pages rendered by PageController.
See the `page_html` directory for all templates available.
"""
use <%= @web_namespace %>, :html
embed_templates "page_html/*"
end