You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@drselump14 have you tried using the alias before the use MjmlEEx macro line in your email module? I noticed the same thing when I had my alias after.
Example:
# lib/project_web/templates/emails/my_email.ex
defmodule ProjectWeb.Templates.Emails.MyEmail do
alias ProjectWeb.Templates.Components
use MjmlEEx,
mjml_template: "my_email.mjml.eex",
layout: Components.MyLayout
end
Is the elixir alias supported inside the mjml template?
I've tried but always failed. Did I miss something? Any help would be appreciated
The text was updated successfully, but these errors were encountered: