This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-03-11
Channels
- # announcements (21)
- # aws (2)
- # babashka (20)
- # beginners (47)
- # bristol-clojurians (2)
- # calva (63)
- # cider (24)
- # clj-kondo (22)
- # cljs-dev (3)
- # cljsrn (6)
- # clojars (3)
- # clojure (147)
- # clojure-europe (21)
- # clojure-france (2)
- # clojure-italy (3)
- # clojure-losangeles (1)
- # clojure-nl (3)
- # clojure-spec (2)
- # clojure-uk (70)
- # clojurescript (37)
- # core-logic (6)
- # cursive (4)
- # data-science (2)
- # datomic (99)
- # events (1)
- # figwheel-main (20)
- # fulcro (26)
- # graalvm (6)
- # graphql (5)
- # kaocha (8)
- # leiningen (20)
- # meander (22)
- # nrepl (4)
- # off-topic (27)
- # pathom (5)
- # pedestal (3)
- # re-frame (20)
- # reagent (4)
- # shadow-cljs (43)
- # spacemacs (11)
- # tools-deps (55)
- # tree-sitter (6)
- # vim (8)
- # xtdb (18)
- # yada (14)
Does anyone here know how best to work with a tools.deps clojurescript project from cursive? I've previously had great success using leiningen + figwheel + cursive, but now I'm trying something similar without leiningen and struggling a bit to get a cljs repl running in Cursive that will talk to the browser.
If you’re able to use Shadow CLJS I’ve generally found that to be the easiest option to get going. Otherwise, figwheel main is the best option to use with deps I think, but I’ve not actually set that up myself. Ideally you want to use it with nREPL, which gives a much nicer REPL experience in Cursive.
I’m relying very heavily on deps in my fulcro-rad-demo development. The demo uses 4 dependent libraries, and I’m able to use global ~/.clojure/deps.edn
with :override-deps
to define things like :fulcro-dev
that points to local source…then when I want to be able to edit Fulcro in the context of the demo I can just run shadow-cljs -A:fulcro-dev …
. Truly excellent experience. With Cursive, I just use the +
button in the Clojure Deps tab to add the local project to the list of projects, and I’m off to the races.
I use “Remote” nREPL to talk to shadow-cljs, and that works very well, too.
okay, thanks, I'll read up on shadow-cljs