On Mon, Jun 19, 2017 at 1:37 AM, Jiacai Liu <jiacai2...@gmail.com> wrote:
> One question: Is miraj compatible with https://github.com/
> weavejester/hiccup ?
If you mean mixing Hiccup and Miraj source code, I doubt it, the approach
is completely different. I believe Hiccup translates Clojure data
structures into HTML strings. Miraj uses functions, one per HTML5 element
(plus any custom ones), that evaluate to an XML DOM node (a Clojure
record), which gets serialized at compile time.
If you want to use Miraj components from Hiccup, that should be easy, since
Miraj generates HTML+CSS+Clojurescript. I added dev and prod target dirs
to one of the demos so you can see:
Look in the acme subdir of target-dev, target-prod.
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to email@example.com
Note that posts from new members are moderated - please be patient with your
To unsubscribe from this group, send email to
For more options, visit this group at
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.