J
Is there a way to convert html to Om/ClojureScript syntax easily? Or, is there a way already to simply use some kind of templates that are closer to html?
J
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to the Google Groups "ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email to clojurescrip...@googlegroups.com.
To post to this group, send email to clojur...@googlegroups.com.
Visit this group at http://groups.google.com/group/clojurescript.
Well, there's two different plugins for component syntax, but I imagine that's not what you're looking for. Perhaps something akin to React's own JSX, I expect.
You might get some leverage from using Enlive to parse the HTML into Enlive-form, and then output it for use with kioo (https://github.com/ckirkendall/kioo) .. which works with Om.
I'm not sure if there's an alternative as yet.
I've always been a big fan of the Enlive/Enfocus method of templating, and was excited to see kioo when David added it to the OM readme the other day. Planning on putting it through its paces this weekend with a POC of a fairly large webapp I am putting together for a customer.
@ Creighton -- Cool, I didn't know kinoo does the slurping part as well. Neat
--
Note that posts from new members are moderated - please be patient with your first post.
---
You received this message because you are subscribed to a topic in the Google Groups "ClojureScript" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/clojurescript/8ptKyAV2mjE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to clojurescrip...@googlegroups.com.