This is the template file, fizz.html:
<html>
<div></div>
</html>This is the Erlang code that fills the template:
brim:do("priv/fizz.html",| import Html exposing (..) | |
| import Html.Attributes | |
| import Html.Events exposing (onClick) | |
| import Signal | |
| -- ACTIONS | |
| type Action = Increment | |
| | Decrement | |
| | None -- The mailbox needs a default |
This is the template file, fizz.html:
<html>
<div></div>
</html>This is the Erlang code that fills the template:
brim:do("priv/fizz.html",