Fork me on GitHub
#cljsjs
<
2017-09-22
>
rovanion09:09:56

So this library leaflet which is packaged through cljsjs also comes with a css, or perhaps it does. What is the best way for me to include it on my page? The leaflet guide says to link to it from their CDN, but perhaps it is included in the jar and I could distribute it from my web server?

rovanion09:09:40

I just found it in the .jar. cljsjs/leaflet/common/leaflet.inc.css. Can I get at it in any good way?

rovanion09:09:03

Okey, found the ring-cljsjs ring middleware and got it working. Now I just need to find the right way to reference it in my reagent app.

mudphone09:09:51

@juhoteperi Hi, are you around? Is there an example of packaging CLJSJS libs without an ext file?

mudphone09:09:46

Looks like I figured it out. Tests pass! 🎉