This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-01
Channels
- # announcements (5)
- # beginners (151)
- # calva (4)
- # cider (32)
- # cljdoc (27)
- # cljsrn (2)
- # clojars (15)
- # clojure (66)
- # clojure-houston (2)
- # clojure-india (1)
- # clojure-italy (3)
- # clojure-uk (7)
- # clojurescript (15)
- # data-science (1)
- # datomic (2)
- # fulcro (6)
- # off-topic (24)
- # pedestal (1)
- # re-frame (20)
- # reagent (3)
- # remote-jobs (4)
- # rewrite-clj (2)
- # shadow-cljs (9)
- # spacemacs (5)
- # tools-deps (4)
- # vim (1)
- # yada (4)
if you configure your shadow-cljs.edn to use deps. Then do you need tell both about source-paths?/paths?
@drewverlee it will use paths in deps.
@drewverlee no, just deps.edn will be used then
Thanks!
Given i'm importing some javascript file i have on my class path and it in turn does a project import, should i have to do anything special? Currently i get an missing dep error e.g core.cljs: ... require ... ["./some/path/main.js :refer (Foo)"] And in main.js `import bar from "some/other/path/bar" It complains that i should install some/other/path/bar.
@drewverlee one path is not like the other. the import needs to use the same path style as the cljs version
Ah ok. I didn't prepend the slash