Story represents a list of element html (like input with different state). It needs an unique id.
stories = [
Fable.story "story 1" []
]Fable allows you to create a book (like a repository) of your html views, they are grouped as chapters, stories.
Book application type
main : Book Msg
main =
let
chapters =
[ Fable.chapter "chapter1" [] ]
in
Fable.app chaptersChapter represents a category like Forms, Blocks, or whatever. It needs an unique id.
chapters = [
Fable.chapter "chapter 1" []
]Story represents a list of element html (like input with different state). It needs an unique id.
stories = [
Fable.story "story 1" []
]Ui represents an element of your view. It needs an unique id.
ui = [
Fable.ui "ui 1" (div [] [])
]
Launch a fable application with a list of chapters