Fork me on GitHub
#re-frame
<
2019-08-20
>
superstructor02:08:30

Hi @defa👋 Thanks for raising this. It might be related to recent changes in re-frame-template. I am looking into it now.

👍 4
defa08:08:23

@superstructor Thanks, great. Do you already have an idea what the problem might be?

superstructor09:08:55

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.

johanatan06:08:16

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?

johanatan06:08:24

if so, how can one do a conditional :preload ?

superstructor07:08:32

Where are you specifying your :preload @johanatan ?

johanatan07:08:46

dev.cljs.edn for figwheel-main

johanatan07:08:28

Per the figwheel main section in that README

superstructor09:08:44

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 ?

johanatan16:08:39

Ah that’s right. Doh!