# `mix ash_phoenix.gen.html`
[🔗](https://github.com/ash-project/ash_phoenix/blob/v2.3.21/lib/mix/tasks/ash_phoenix.gen.html.ex#L5)

This task renders .ex and .heex templates and copies them to specified directories.

## Positional Arguments

- `domain` - The domain (e.g. "Shop").
- `resource` - The resource (e.g. "Product").

## Options

- `--resource-plural` - The plural resource name (e.g. "products")
- `--resource-plural-for-routes` - Override the plural name used in route paths (e.g. "random-things"). Useful when the route prefix contains dashes.

```bash
mix ash_phoenix.gen.html MyApp.Shop MyApp.Shop.Product --resource-plural products
```

# `run`

---

*Consult [api-reference.md](api-reference.md) for complete listing*
