allo-media/fable/1.0.0

NOTE: the latest version is 1.0.3

Fable

Fable allows you to create a book (like a repository) of your html views, they are grouped as chapters, stories.

Developpement

$ npm i
$ elm install

Run example

$ npm run example

Example of fable app


import Fable as Fable exposing (Book)
import Html.Styled exposing (div)

main : Book Msg
main =
    let
        chapters =
            [ Fable.chapter "Chapter 1"
                [ Fable.story "Story 1"
                    [ Fable.ui "test 1" (div [] []) ]
                ]    
            ]
    in
    Fable.app chapters