Brick v0.1.0 Brick View Source

Brick is a component library bases on Phoenix.View and Phoenix.Template.

It's meant to be more strict in what it does no cater more to a component based workflow then phoenix does and also enable a few things, to not only allow components to be used to render data, but also create styleguides for them.

Link to this section Summary

Link to this section Functions

Link to this macro

__using__(opts) View Source (macro)

Import Brick and set the base namespace for the component macro.

Example

use Brick, namespace: MyAppWeb.Components
Link to this macro

component(module, variant \\ :default, assigns) View Source (macro)

Link to this macro

config(module, variant) View Source (macro)