View Source mix ash_phoenix.gen.html (ash_phoenix v1.3.6)

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

Positional Arguments

  • api - The API (e.g. "Shop").
  • resource - The resource (e.g. "Product").

Options

  • --resource-plural - The plural resource name (e.g. "products")

mix ash_phoenix.gen.html MyApp.Shop MyApp.Shop.Product --plural-name products

Summary

Functions

Callback implementation for Mix.Task.run/1.

Functions

Callback implementation for Mix.Task.run/1.