lein demo ; The demo runs a webserver on port 8000. "shadow-cljs watch" mode
lein build ; Build cljs bundle, and output bundle stats
lein run-web ; Serves website from precompiled bundle.
lein test-clj ; Run unit tests - clj
lein test-js ; Run unit tests - js
Demonstrates
Bidi is not as highly starred as compojure, but it has important benefits:
If there are problems in using vega with errors to "buffer" then npm install shadow-cljs --save
might fix it. thheller: both buffer and process are polyfills packages that shadow-cljs will provide ... the npm package is mostly the for CLI stuff but also brings in some extra npm packages
the compiler is from the CLJ dependency you have in project.clj.
the npm stuff never does any actual compilation, just runs the java process
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close