View Source mix phx.gen (Phoenix v1.7.0-rc.0)
Lists all available Phoenix generators.
crud-related-generators
CRUD related generators
The table below shows a summary of the contents created by the CRUD generators:
Task | Schema | Migration | Context | Controller | View | LiveView |
---|---|---|---|---|---|---|
phx.gen.embedded | ✓ | |||||
phx.gen.schema | ✓ | ✓ | ||||
phx.gen.context | ✓ | ✓ | ✓ | |||
phx.gen.live | ✓ | ✓ | ✓ | ✓ | ||
phx.gen.json | ✓ | ✓ | ✓ | ✓ | ✓ | |
phx.gen.html | ✓ | ✓ | ✓ | ✓ | ✓ |
Link to this section Summary
Functions
Callback implementation for Mix.Task.run/1
.
Link to this section Functions
Callback implementation for Mix.Task.run/1
.