A re-frame application designed to ... well, that part is up to you.
There is an online version of this SPA with backend integation, please try it out at heroku
npm install --save-dev shadow-cljs
npm install -g shadow-cljs
For more information about shadow-cljs, please read the document of shadow-cljs.
shadow-cljs watch app
Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:8080.
Put this in your Emacs config file:
Start a shadow-cljs REPL with cider-jack-in-clojurescript
or (C-c M-J
)
Which command should be used:
enter shadow-cljs
Select ClojureScript REPL type:
enter shadow
Then enter "app" as the name of the build target.
Install karma and headless chrome (ignore this step for now)
npm install -g karma-cli
npm install karma karma-cljs-test karma-chrome-launcher --save-dev
And then run your tests
shadow-cljs watch test
To compile clojurescript to javascript:
shadow-cljs release app