The template is here:
lib > myapp_web > templates > subfolder > template.html.eex
The view contains:
use MyAppWeb, :view
The myapp_web.ex contains:
use Phoenix view, root: “lib/myapp_web/templates”,
namespace: MyAppWeb,
pattern: “**/*”
The template is here:
lib > myapp_web > templates > subfolder > template.html.eex
The view contains:
use MyAppWeb, :view
The myapp_web.ex contains:
use Phoenix view, root: “lib/myapp_web/templates”,
namespace: MyAppWeb,
pattern: “**/*”