mix ash_phoenix.gen.live (ash_phoenix v2.3.14)

View Source

Generates liveviews for a given domain and resource.

The domain and resource must already exist, this task does not define them.

Example

mix ash_phoenix.gen.live --domain MyApp.Shop --resource MyApp.Shop.Product --resourceplural products

Options

  • --domain - Existing domain
  • --resource - Existing resource module name
  • --resource-plural - Pluralized version resource name for the route paths and templates
  • --phx-version - Phoenix version 1.7 (old) or 1.8 (new). Defaults to 1.8

Summary

Functions

igniter(igniter)

Callback implementation for Igniter.Mix.Task.igniter/1.