phoenix_components v1.0.0 mix phoenix.gen.component View Source
Creates a new Phoenix component. It expects the name of the component as argument.
mix phx.component my_button
A component at web/components/my_button path will be created.
Link to this section Summary
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
.