Fork me on GitHub
#figwheel-main
<
2020-08-21
>
folcon10:08:24

@grumplet Thanks for this 😃... I'll review it and see if I can get my setup working!

folcon10:08:44

Actually just out of curiosity, is there any nice way to get devcards / normal figwheel-main to work together? For example only running devcards in a specific view or url?

folcon10:08:29

Trying to make a reasonably elegant ui component lib for frontend focused people 😃...

grumplet14:08:25

@folcon I have not tried that, but it looks like devcards is fairly well decoupled from figwheel, so my guess would be ‘yes’. See the note at https://github.com/bhauman/devcards/blob/master/src/devcards/core.cljs#L47

folcon16:08:02

Yep, managed to get the basics working, now just trying to get the library that I built working as a dependency... currently failing to run via lein checkouts:

lein run -m figwheel.main -- --install-deps
Not sure why as it runs perfectly when run in the library project I just made:
Syntax error (ClassCastException) compiling at (/tmp/form-init15080874523965274762.clj:1:74).
class clojure.lang.PersistentHashSet cannot be cast to class java.lang.Comparable (clojure.lang.PersistentHashSet is in unnamed module of loader 'app'; 
parable is in module java.base of loader 'bootstrap')
I feel like either there's some part of writing a cljs lib that I'm missing? Both projects use figwheel-main, but I'm not sure that should cause an issue...

pez07:08:02

That is awesome. Thanks!

grumplet07:08:30

Pushed a couple of edits

pez05:08:29

I'd love me a PR. 😃