mix phoenix_assets. gen
(PhoenixAssets v0.1.0)
View Source
Generates the typed frontend contracts declared by the configured preset.
mix phoenix_assets.gen
mix phoenix_assets.gen --check # verify without writing; non-zero exit on drift
mix phoenix_assets.gen --only routes,typesThe --check form is the CI drift gate: it fails when the checked-in contracts
no longer match what the current Phoenix/Ash definitions would produce. Wire it
into your assets.deploy alias before the production bundle is built.