phoenix_components v1.0.3 mix phoenix.gen.component View Source

Creates a new Phoenix component. It expects the name of the component as argument.

mix phoenix.component my_button

A component at web/components/my_button path will be created.

Link to this section Summary

Functions

A task needs to implement run which receives a list of command line args

Link to this section Functions

A task needs to implement run which receives a list of command line args.

Callback implementation for Mix.Task.run/1.