You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Alternatively there is a lower level API where you give it a series of "targets" which is a bunch of URLs and comparison images - see the 'Core API' section in the readme.
If you have an example project of shadow-cljs + devcards I would be interested to see it to see if it would be easy to support it out of the box.
I have been thinking about it: I think you could do it without it, but I will probably need to make public some of your functions :-) I hope I will have time to study the question in the next 2 months.
Activity
oliyh commentedon Jun 20, 2019
Hi,
You're welcome! Yes of course, kamera has a high level API for devcards which I guess you can use with shadow-cljs - you just give it the URL where it can find the devcards index page.
https://github.com/oliyh/kamera/blob/master/src/clj/kamera/devcards.clj#L98
Alternatively there is a lower level API where you give it a series of "targets" which is a bunch of URLs and comparison images - see the 'Core API' section in the readme.
If you have an example project of shadow-cljs + devcards I would be interested to see it to see if it would be easy to support it out of the box.
Let me know if you have any more questions.
Cheers
davidpham87 commentedon Jun 20, 2019
Thanks for your swift answer!
This is the repository of example from shadow-cljs:
https://github.com/shadow-cljs/examples/tree/master/deps-edn-re-frame-and-devcards
I am going to dig a bit on my side to see if I can manage it! Thanks for your time!
oliyh commentedon Jul 8, 2020
Hi @davidpham87, did you find anything out? I'm just doing some issue cleanup.
Thanks
davidpham87 commentedon Nov 28, 2020
I have been thinking about it: I think you could do it without it, but I will probably need to make public some of your functions :-) I hope I will have time to study the question in the next 2 months.