devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
2016-09-15T21:27:20.000022Z

Howdy all

2016-09-15T21:27:32.000023Z

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]}

2016-09-15T21:29:20.000024Z

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)

2016-09-15T21:29:56.000025Z

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

2016-09-15T21:30:02.000026Z

SO CLOSE