This library allows user to convert minified html to halogen codes to speed up the development. Below is an usage example
PSCi, version 0.14.0
Type :? for help
import Prelude
> import Html.Codegen.Halogen
> renderHalogenCodesWithIndent "examples/hello-world.min.html"
HH.div_ [ HH.h1_ [ HH.text "Hello World" ], HH.a [ HP.href "https://www.purescript.org/" ][
HH.text "PureScript is awesome" ] ]
>
Install
bower install https://github.com/ongyiren1994/purescript-html-codegen-halogen.git
Module documentation is published on Pursuit.
Check LICENSE file for more information.