This is an example of client-side clojurescript React-based app architecture. Inspired by circleci/frontend project (explained in this talk).
$ git clone https://github.com/mmavko/cs-react-arch
$ cd cs-react-arch
$ lein figwheel dev
$ open http://localhost:3449/
Figwheel will also give you a REPL linked to the browser.
Project gets configured with "gitignored" resources/public/config.js
file. Please create your own
(use config.example.js
as an example).
$ lein clean
$ lein cljsbuild once min
It will make an independent build in file resources/public/js/compiled/cs-react-arch.js
.
You can run a webserver rooted at resources/public
and try a build in work.
Please see resources/public/index.html
to get an example of configuring and running
the project.