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.componenttask, 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--global- Makes components accessible throughout the project without explicit imports--yes- Makes directly without questions--exclude- Comma-separated list of components to exclude (e.g.,--exclude alert,badge)--component-prefix- Prefix for all component function names (e.g.,--component-prefix mishka_)--module-prefix- Prefix for module names (e.g.,--module-prefix mishka_makes Chat become MishkaChat)--no-save- Use prefixes without saving them to config file
Summary
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.
Functions
Callback implementation for Igniter.Mix.Task.igniter/1.