Run npm install
to download npm dependencies.
Run lein demo
to run the demo app. This will run a web server at port 8000 with lots of examples of ui components.
Run lein embed
to see how to embed pinkie ui components in ordinary html pages.
Documentation: Run lein demo .. this showcases all components.
Add a dependency to your clojurescript project, and you are good to go. Note that we use shadow-cljs which allows easy management of npm dependencies.
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? These fine people already did:
awb99 & Andreas SteffanEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close