This package provides an HTML
content type for use with servant APIs. This can be used to render miso View
/ Component
types as HTML.
import Servant.Miso.Html (HTML)
type Home = "home" :> Get '[HTML] (Component model action)
type About = "about" :> Get '[HTML] (View model action)
type Contact = "contact" :> Get '[HTML] [View model action]
type API = Home :<|> About :<|> Contact
cabal build
nix develop --command bash -c 'cabal build'
nix develop