Hi, does anyone have a nice example of adding devcards as an :extra-main? I was a little surprised it was not part of the figwheel main template (nor the readme for devcards)
Yes, that's definitely part of it! I'm finding it a little tricky to piece together the documentation in the devcards repo with the figwheel main docs to actually get a running devcards page
I need to add the :extra-main, a separate html file, and a separate folder with my devcards cljs files?
you only need a seperate html file, and set :devcards true
in the compiler settings, that’s it
the seperate html file can be the same as your regular html but also have a [:script "devcards.core.start_devcard_ui_BANG__STAR_()"]
in it
so basically this https://github.com/bhauman/devcards#devcards-as-a-standalone-website
Thanks!