Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/allo-media/fable
- Owner: allo-media
- License: mit
- Created: 2018-09-12T14:34:37.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-07-19T08:43:25.000Z (over 5 years ago)
- Last Synced: 2024-10-19T05:32:22.357Z (3 months ago)
- Topics: book, elm, ui, viewer
- Language: Elm
- Homepage: https://package.elm-lang.org/packages/allo-media/fable/latest/
- Size: 138 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```