Closed ychakiris closed 5 years ago
It seems trivial to add it through extra mains feature, however it does not work for me since there is no way (imho) how to currently pass {:devcards true} as compiler param, hence devcards macro will not pass (utils/devcards-active?) guard
You just need to add :devcards true
to your clojurescript compiler options.
{:main example.core
:asset-path ....
:devcards true}
ah! brilliant! Works perfectly :)
Thanks!
I haven't tried it yet but I assume this will work with figwheel.main if we put the right dependencies in (e.g. taking the dependencies our ot the current
project.clj
file).