View Source mix mishka.ui.gen.components (Mishka Chelekom v0.0.3)

A Mix Task for generating and configuring multi components of Phoenix

A Mix Task for generating and configuring multi components of Phoenix

This task does not do any additional work compared to the mix mishka.ui.gen.component task, it just creates all the components in one place. For this purpose, all components are created with default arguments.

Example

mix mishka.ui.gen.components component1,component2

Options

  • --import - Generates import file
  • --helpers - Specifies helper functions of each component in import file
  • --yes - Makes directly without questions

Summary

Functions

igniter(igniter, argv)

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