This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2017-05-26
Channels
- # aws (7)
- # beginners (109)
- # boot (5)
- # carry (2)
- # cider (25)
- # clara (6)
- # cljs-dev (86)
- # cljs-experience (19)
- # cljsrn (1)
- # clojure (183)
- # clojure-dev (7)
- # clojure-dusseldorf (7)
- # clojure-gamedev (2)
- # clojure-greece (32)
- # clojure-italy (2)
- # clojure-norway (1)
- # clojure-russia (228)
- # clojure-sg (3)
- # clojure-spec (38)
- # clojure-uk (104)
- # clojurebridge (1)
- # clojurescript (29)
- # community-development (9)
- # core-async (118)
- # core-matrix (20)
- # cursive (5)
- # datomic (140)
- # emacs (25)
- # figwheel (1)
- # hoplon (21)
- # jobs (4)
- # lein-figwheel (2)
- # luminus (10)
- # lumo (35)
- # off-topic (137)
- # om (31)
- # onyx (62)
- # pedestal (6)
- # reagent (25)
- # remote-jobs (1)
- # ring-swagger (11)
- # spacemacs (2)
- # test-check (17)
- # uncomplicate (10)
- # unrepl (1)
- # untangled (20)
- # vim (4)
- # yada (3)
@tony.kay awesome. Works now, But having a bit of trouble with getting the css in advanced mode.
(defui ^:once Root
static css/CSS
(css [this] [[(css/local-kw Root :class1) {:color 'blue}]])
Object
(render [this]
(dom/div nil
(dom/p nil "text")
(dom/style nil (g/css (css/css Root))))))
tried other approaches but I keep getting No protocol method CSS.css defined for type function
to much of a beginner to have any chance at figuring out a fix, for these kinds of problems unfortunately
On dev it works, in advanced mode css/css Root
gives me that error. Upsert-css also :(
I ran the cookbook recipe against 1.0.2 with updated om version alpha48 in advanced mode and it worked. Look ar the source of that example?
the project file has the version of deps I used to get it to work. Running lein cljsbuild once release
followed by
cd resources/public
open release.html
(open command assumes you have a mac)