/cljs-devtools-sample

An example integration of cljs-devtools

Primary LanguageClojureOtherNOASSERTION

cljs-devtools-sample GitHub license

This project is an example of integration of cljs-devtools into a Leiningen-based ClojureScript project.

Local setup

git clone https://github.com/binaryage/cljs-devtools-sample.git
cd cljs-devtools-sample

Build the project and start local demo server:

lein demo
  • A demo page should be available at http://localhost:7000.
  • Please visit it with Google Chrome browser with enabled custom formatters.
  • Open the web development console under devtools and you should see something similar to the screenshot above. Note: you might need to refresh the page again to force re-rendering of custom formatters after opening the console.