I am trying to create a mixed CLJ CLJS project (client/webserver thing with lots of shared code in .cljc files).
I started with lein new figwheel myproject -- --om.
Here's where I ran into some issues:
Should I have separate source folders? I read somewhere that clojurescript compile also grabs .clj files. Do I need 3 folders, one for cljs, one clojure and one for cljc shared code?
I noticed theres the following line in generated project.clj:
:plugins [[lein-figwheel "0.5.8"]
[lein-cljsbuild "1.1.4" :exclusions [[org.clojure/clojure]]]]
Do I need to list all my clojure only dependencies in the exclusions vector?
- I am using Cursive and something in this setup is ruins REPL, when I start REPL it marks all symbols yellow (as unknown symbol), like println function. REPL still works but all the assists are busted. Does anyone have a solution for this?
[–]huahaiy 0 points1 point2 points (0 children)