ema-0.4.0.0: Static site generator library with hot reload
Safe HaskellNone
LanguageHaskell2010

Ema.Helper.Blaze

Description

Use Tailwind CSS with blaze-html? Try this module for rapid prototyping of websites in Ema.

Synopsis

Main functions

twindLayout :: Some Action -> Html -> Html -> LByteString Source #

A simple and off-the-shelf layout using Tailwind CSS

Tailwind official shims

tailwind2ShimCdn :: Html Source #

Loads full tailwind CSS from CDN (not good for production)

Twind.dev shims

twindShimOfficial :: Html Source #

This shim may not work with hot reload.

twindShimUnofficial :: Html Source #

This shim does work with hot reload, but it spams console with warnings.