Fork me on GitHub
#devcards
<
2016-09-15
>
coyotespike21:09:32

I'm trying to add DevCards to a Boot project. It's complaining No such namespace: devcards.out.cljs.core.async.impl.channels. I think the error lies in devcards.cljs.edn.

{:require [holy-grail.components.page-test]
 :init-fns [devcards.core/start-devcard-ui!]}
I also tried it like:
{:require [holy-grail.components.page-test]
 :init-fns [holy-grail.components.page-test/devcards]}

coyotespike21:09:20

holy-grail.components.page-test is also quite simple.

(ns holy-grail.components.page-test
  (:require [holy-grail.components.page :as app.page]
            [cljs.test :refer-macros [is]]
            [devcards.core :as dc :refer-macros [defcard-rg deftest]]
            [reagent.core]))

(defcard-rg page
  "This is the `app/page` component."
  [app.page/component])

(defn devcards []
  (dc/start-devcard-ui!))

(deftest page-test)

coyotespike21:09:56

With a vanilla dev build and devcards true, the devcards.html builds, but no cards are rendered.