A re-frame application designed to show how to use semantic-ui-react from cljsjs.
The interesting parts are in src/cljs/views.cljs
.
Put this in your Emacs config file:
(setq cider-cljs-lein-repl "(do (use 'figwheel-sidecar.repl-api) (start-figwheel!) (cljs-repl))")
Navigate to a clojurescript file and start a figwheel REPL with cider-jack-in-clojurescript
or (C-c M-J
)
lein clean
lein figwheel dev
Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:3449.
To compile clojurescript to javascript:
lein clean
lein cljsbuild once min