This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-08-20
Channels
- # announcements (3)
- # beginners (63)
- # calva (1)
- # cider (24)
- # clj-kondo (98)
- # cljdoc (8)
- # cljsrn (19)
- # clojure (106)
- # clojure-conj (2)
- # clojure-europe (5)
- # clojure-italy (5)
- # clojure-nl (8)
- # clojure-spec (8)
- # clojure-uk (13)
- # clojuredesign-podcast (7)
- # clojurescript (54)
- # core-async (1)
- # cursive (3)
- # data-science (1)
- # datomic (19)
- # fulcro (7)
- # hoplon (1)
- # off-topic (3)
- # re-frame (13)
- # reitit (1)
- # shadow-cljs (234)
- # test-check (10)
- # tools-deps (59)
- # unrepl (1)
- # yada (20)
Hi @defa👋 Thanks for raising this. It might be related to recent changes in re-frame-template. I am looking into it now.
@superstructor Thanks, great. Do you already have an idea what the problem might be?
Its definiately broken, I can confirm that. I use the same mechanism successfully in https://github.com/Day8/re-frame-http-fx-2-example/blob/master/shadow-cljs.edn#L21 so I need to debug what is causing this issue for the lein templated app.
hi, with deps.edn/tools.cli and re-frame 10x, does one need to have a conditional :preload
for the production build such that the 10x dashboard will not be shipped into production?
Where are you specifying your :preload
@johanatan ?
I don't personally use figwheel main, but I guess you would:
1) have two aliases in deps.edn
; e.g. see :main-opts
in https://github.com/bhauman/figwheel-main#setting-up-a-build-with-tools-cli
2) have two build config files, one dev.cljs.edn
one prod.cljs.edn
3) switch between the two build config files in 2. by using different -b
args in the aliases in 1.; i.e. -b dev
vs -b prod
.
@johanatan Hope that helps ?