devcards

Devcards aims to provide a visual REPL experience for ClojureScript https://github.com/bhauman/devcards
Lu 2019-04-20T01:00:52.004900Z

Hello! I just added devcards to my project, yet I can only see a blank screen with this error in the console: Uncaught ReferenceError: p is not defined at ioc_helpers.cljs:146. I am using figwheel-main:

{:id "devcards"
                                 :asset-path "/scripts/out"
                                 :main bar.foo.devcards.main
                                 :output-dir "public/scripts/out"
                                 :output-to "public/scripts/devcards.js"}
This my html:
<!DOCTYPE html>
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="utf-8"&gt;
    &lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&gt;
    &lt;meta name="viewport" content="width=device-width, initial-scale=1 maximum-scale=1"&gt;
    &lt;title&gt;Devcards&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
  &lt;script src="/scripts/devcards.js"&gt;&lt;/script&gt;
&lt;/body&gt;
&lt;/html&gt;
And this my main.cljs:
(ns bar.foo.devcards.main
  (:require
   [devcards.core])
  (:require-macros
   [devcards.core :refer [defcard reagent]]))

(defcard example
  (reagent [:div "show text"]))
What am I doing wrong? :)