Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/allo-media/fable

Ui viewer
https://github.com/allo-media/fable

book elm ui viewer

Last synced: about 2 months ago
JSON representation

Ui viewer

Awesome Lists containing this project

README

        

# Fable

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

# 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
```

# Developpement

```
$ npm i
$ npm start
```

# Run example

```
$ cd example
$ npm i
$ npm start
```