Skip to content

Files

Latest commit

a28a380 · May 24, 2020

History

History
This branch is 43 commits behind binaryage/cljs-devtools:master.

lein

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.git
cd cljs-devtools/examples/lein

Build the project and start a local demo server:

lein demo

Wait for compilation and when figwheel fully starts:

  • 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.