hoplon

The :hoplon: ClojureScript Web Framework - http://hoplon.io/
Ahmed Hassan 2019-05-26T09:41:32.006500Z

Are Hoplon, Javelin and Castra tightly coupled with Boot? I want to use these with Clojure CLI Tools and Shadow-cljs.

2019-05-26T14:20:36.007400Z

@ahmed1hsn not at all, you can check them out just like any other jar

👍 1
flyboarder 2019-05-28T00:03:40.012300Z

with any client side library

👍 1
Ahmed Hassan 2019-05-26T14:25:13.007500Z

To use Google Closure Library instead of Jquery, in Boot template I have to use :refer #{'hoplon.goog} in Hoplon Task. How do I do it in Deps CLI and Shadow-cljs? And How do I process .hl files?

2019-05-26T16:11:36.007800Z

i can't speak to the setup you're using since i do everything with boot, but all the hoplon lib does is give you functions that return dom elements - it is sugar over (.createElement js/document "div") or whatever you're using. the boot task just generates the html file for you, as i recall.

👍 1
Ahmed Hassan 2019-05-26T16:32:06.008400Z

So, it's (hoplon) Task of Boot which by default includes Jquery, if we use Hoplon library standalone with other tools it won't include Jquery. Am I right?

flyboarder 2019-05-26T23:30:53.008800Z

correct, you will also not be able to use .hl files without boot

👍 1
flyboarder 2019-05-26T23:31:05.009Z

however we dont recommend that anymore anyway

👍 1