mix ash_dispatch.setup (AshDispatch v0.5.1)
View SourceSets up the initial AshDispatch directory structure and generates default layouts.
Usage
mix ash_dispatch.setupWhat It Creates
priv/ash_dispatch/
├── layouts/
│ ├── email.html.heex # HTML email layout
│ └── email.text.eex # Plain text email layout
└── templates/ # Your event templates go hereCustomization
After running setup, edit the layouts in priv/ash_dispatch/layouts/ to match
your brand (logo, colors, footer contact info, etc.).
Event templates only need to provide content - they'll be wrapped in these layouts.