Demo shadow-cljs for browser apps
Switch branches/tags
Nothing to show
Clone or download
Latest commit 408f08a Sep 15, 2018

README.md

Browser demo for shadow-cljs

Develop

Run in developmeent:

yarn
(mkdir -p target && cp assets/index.html target/)
yarn shadow-cljs watch app

shadow-cljs will be installed in node_modules/ when you run yarn.

:http-root and :http-port configs specify that target/index.html will be served at http://localhost:8080 .

REPL

After page is loaded, you may also start a REPL connected to browser with:

yarn shadow-cljs cljs-repl app

Release

Compile with optimizations with release sub-command:

yarn shadow-cljs release app
mkdir -p target && cp assets/index.html target/
yarn serve # serving target/ on http://localhost:8080

Read docs for more http://doc.shadow-cljs.org/ .

License

MIT