A Leiningen template for generating a simple clojurescript project that can run on nodejs.
Make sure you have the prerequisites installed.
lein new jasani-cljs-node myapp
cd myapp
lein cljsbuild once
You'll see info about the compilation.
Compiling ClojureScript...
Compiling ["target/myapp/myapp.js"] from ["src"]...
Successfully compiled ["target/myapp/myapp.js"] in 4.357 seconds.
node target/myapp/myapp.js
Copyright © 2018 Hitesh Jasani
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close