cljsjs

rovanion 2017-09-22T09:07:56.000035Z

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?

rovanion 2017-09-22T09:09:40.000161Z

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

rovanion 2017-09-22T09:38:03.000227Z

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.

2017-09-22T09:46:51.000269Z

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

2017-09-22T09:56:46.000424Z

Looks like I figured it out. Tests pass! 🎉