This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-01-17
Channels
- # aleph (3)
- # announcements (12)
- # beginners (80)
- # boot (3)
- # braveandtrue (16)
- # calva (3)
- # cider (82)
- # clojure (100)
- # clojure-art (3)
- # clojure-dev (79)
- # clojure-estonia (1)
- # clojure-europe (4)
- # clojure-finland (15)
- # clojure-indonesia (1)
- # clojure-italy (20)
- # clojure-nl (4)
- # clojure-spec (24)
- # clojure-sweden (2)
- # clojure-switzerland (1)
- # clojure-uk (99)
- # clojurescript (145)
- # cursive (8)
- # data-science (7)
- # datomic (26)
- # emacs (4)
- # figwheel-main (20)
- # fulcro (8)
- # graphql (3)
- # hoplon (2)
- # jobs (1)
- # kaocha (5)
- # leiningen (2)
- # liberator (19)
- # off-topic (16)
- # pathom (9)
- # perun (1)
- # portkey (2)
- # re-frame (17)
- # reitit (1)
- # shadow-cljs (26)
- # spacemacs (7)
- # vim (49)
with leiningen I use :devcards true
, but it is unclear where to place this with fighweel-main
:extra-main-files {:tests {:main hello-world.core-tests}
:devcards {:main hello-world.devcards}}
which both includes the default template, and fails to render the cards required from the ns being rendered
^{:extra-main-files {:devcards {:main react-hitch.devcards-runner}
:test {:main react-hitch.test-runner}}
:watch-dirs ["src" "test" "devcards"]}
{:main react-hitch.qui-tracker
:devcards true}
it goes in the compiler options. the meta data is for figwheel but you need the compiler aware of devcards. You can see this in the devcards macro which will emit nothing without this compiler flag
the extra mains all use the same build but are just different entry points. so all builds will be devcards builds
would be good to just put this explicitly in the figwheel-main docs and/or the devcards docs