mix raxol.gen.component
(Raxol v2.3.0)
View Source
Generates a new Raxol TEA component module and test.
Usage
mix raxol.gen.component MyComponentThis creates:
lib/<app>/components/my_component.ex- Component module with TEA callbackstest/<app>/components/my_component_test.exs- Tests for the component
Options
--no-test- Skip generating the test file
Examples
mix raxol.gen.component Sidebar
mix raxol.gen.component StatusBar --no-test