This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-18
Channels
- # announcements (2)
- # asami (20)
- # aws (4)
- # babashka (35)
- # beginners (47)
- # calva (65)
- # cider (19)
- # clj-kondo (63)
- # clojure (177)
- # clojure-austin (2)
- # clojure-europe (27)
- # clojure-nl (1)
- # clojure-uk (4)
- # clojurescript (13)
- # community-development (5)
- # conjure (5)
- # css (2)
- # data-oriented-programming (9)
- # datalevin (13)
- # datascript (15)
- # datomic (4)
- # devcards (6)
- # duct (4)
- # emacs (8)
- # funcool (1)
- # gratitude (2)
- # helix (3)
- # hyperfiddle (3)
- # introduce-yourself (1)
- # jobs (4)
- # jobs-discuss (26)
- # lambdaisland (2)
- # lsp (20)
- # malli (2)
- # meander (2)
- # mid-cities-meetup (5)
- # missionary (15)
- # music (4)
- # off-topic (37)
- # reagent (3)
- # reitit (2)
- # releases (2)
- # ring (18)
- # shadow-cljs (70)
- # specter (4)
- # sql (20)
- # timbre (3)
- # tools-build (43)
- # tools-deps (11)
- # vim (29)
- # xtdb (61)
Hey everyone. I'm starting to use Devcards and was wondering whether there was a way to have my components displayed in an iframe or something: I'd like my cards to be isolated from Devcard's CSS and be displayed in a setup that resembles a live system as much as possible compared to being enclosed in divs that hold their own CSS (Devcards CSS).
FWIW I've found that using with-redefs
is a useful way to mock global state behavior, and changing the index.html file to include or exclude CSS for styling.
I saw this (closed) PR that would look like what I'd want so … I guess I have my answer as to "is there a way to … ?" https://github.com/bhauman/devcards/pull/131
Oh and BTW, yes I saw that one can override and even completely remove DevCards' CSS, this is what I'm doing at the moment but – apart from the fact that the whole DevCard page doesn't look good with no style – my components are still rendered in a bunch of .<div >
s that mess up some of my components (components that are pages actually)