This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-29
Channels
- # 100-days-of-code (2)
- # bangalore-clj (1)
- # beginners (141)
- # cider (33)
- # cljs-dev (13)
- # cljsjs (7)
- # cljsrn (1)
- # clojure (88)
- # clojure-conj (3)
- # clojure-dev (24)
- # clojure-italy (11)
- # clojure-nl (4)
- # clojure-russia (1)
- # clojure-sanfrancisco (1)
- # clojure-spec (4)
- # clojure-uk (53)
- # clojurescript (65)
- # core-logic (2)
- # cursive (28)
- # datomic (33)
- # duct (2)
- # emacs (3)
- # figwheel-main (9)
- # fulcro (44)
- # hoplon (6)
- # leiningen (144)
- # mount (1)
- # nrepl (21)
- # off-topic (102)
- # onyx (2)
- # other-languages (5)
- # pathom (6)
- # planck (3)
- # portkey (1)
- # re-frame (7)
- # reagent (5)
- # reitit (17)
- # shadow-cljs (24)
- # spacemacs (16)
- # tools-deps (64)
- # uncomplicate (2)
- # vim (22)
How can I use CSS from a CLJSJS package? I am using the JavaScript from https://github.com/cljsjs/packages/blob/master/react-datepicker/build.boot#L29 and (per the link above) I can verify that the *.css files are present in the jar... BUT they do not land next to the Javascript (in resources/public/dev/cljsjs/react-datepicker/development/ )???? For extra credit.. why isn't the upstream SASS part of the CLJSJS jar (my project uses SASS) https://github.com/Hacker0x01/react-datepicker/tree/master/src/stylesheets
@tmarble https://github.com/cljsjs/packages/wiki/Non-JS-Assets, and SASS: each file needs to be included in packaging script
For SASS files, you could update Cljsjs packaging script or use [org.webjars.npm/react-datepicker "1.5.0"]
just for SASS files (sass4clj can import files from cljsjs and webjars)