Java.lang.IllegalArgumentException: Namespace leaflet-plugins does not exist
So I just followed the official instruction to setup a foreign lib for the project, and it works just fine in the browser.
However, after I run lein figwheel, and connect to it in browser, and the cljs.user=> pops up. I tried to run something like (ns a.c (:require [leaflet-plugins]))
which gives the above error.
This would work fine inside a cljs file, just cannot eval through the repl.
Java.lang.IllegalArgumentException: Namespace leaflet-plugins does not exist
So I just followed the official instruction to setup a foreign lib for the project, and it works just fine in the browser.
However, after I run
lein figwheel
, and connect to it in browser, and the cljs.user=> pops up. I tried to run something like(ns a.c (:require [leaflet-plugins]))
which gives the above error.This would work fine inside a cljs file, just cannot eval through the repl.