mirror of
https://github.com/coollabsio/coolify-examples.git
synced 2026-02-26 09:18:57 +00:00
elixir phoenix example
This commit is contained in:
14
elixir-phoenix/lib/hello_web/components/layouts.ex
Normal file
14
elixir-phoenix/lib/hello_web/components/layouts.ex
Normal file
@@ -0,0 +1,14 @@
|
||||
defmodule HelloWeb.Layouts do
|
||||
@moduledoc """
|
||||
This module holds different layouts used by your application.
|
||||
|
||||
See the `layouts` directory for all templates available.
|
||||
The "root" layout is a skeleton rendered as part of the
|
||||
application router. The "app" layout is set as the default
|
||||
layout on both `use HelloWeb, :controller` and
|
||||
`use HelloWeb, :live_view`.
|
||||
"""
|
||||
use HelloWeb, :html
|
||||
|
||||
embed_templates "layouts/*"
|
||||
end
|
||||
Reference in New Issue
Block a user