bhauman / devcards

Devcards aims to provide a visual REPL experience for ClojureScript
1.53k stars 113 forks source link

devcards without figwheel #134

Closed kurtharriger closed 6 years ago

kurtharriger commented 6 years ago

I've recently switched to using shadow-cljs (https://github.com/thheller/shadow-cljs) for my clojurescript projects. I thought I would try to get a devcards working in one of my projects, but seems to be some magic interaction between figwheel and devcards I am missing.

I followed the instructions to create a the index page, require devcards and call the start-devcard-ui, it does render the header but no cards. What am I missing?

Here is sample project started with lien new devcards devcards-demo https://github.com/kurtharriger/devcards-shadow-cljs

If you run lein figwheel you can see that it works fine

If you start it using shadow-cljs however I get the header but no cards.

yarn install
/node_modules/.bin/shadow-cljs watch app