Packages

Potionx project generator. Provides a `mix potionx.new` task to bootstrap a new Elixir application with Phoenix, Absinthe, Pow and Vue dependencies.

Current section

Files

Jump to
potionx_new templates potionx app_name_web templates layout app.html.eex
Raw

templates/potionx/app_name_web/templates/layout/app.html.eex

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title><%%= assigns[:title] || "" %></title>
<%%= for {name, content} <- metas() do %>
<meta name="<%%= name %>" content="<%%= content %>">
<%% end %>
<%%= for stylesheet <- stylesheets() do %>
<link rel="stylesheet" href="<%%= stylesheet %>" />
<%% end %>
</head>
<body>
<%%= @inner_content %>
<%%= for script <- scripts() do %>
<script async defer type="module" src="<%%= script %>"></script>
<%% end %>
</body>
</html>