feat(server): phoenix 1.7 scaffold with sqlite + liveview
This commit is contained in:
parent
fab512f1e1
commit
b85d05afc8
41 changed files with 2279 additions and 0 deletions
14
server/lib/server_web/components/layouts.ex
Normal file
14
server/lib/server_web/components/layouts.ex
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
defmodule ServerWeb.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 ServerWeb, :controller` and
|
||||
`use ServerWeb, :live_view`.
|
||||
"""
|
||||
use ServerWeb, :html
|
||||
|
||||
embed_templates "layouts/*"
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue