A ClojureScript component library using replicant with a development environment powered by shadow-cljs and Portfolio for component development and visualization.
- Clojure CLI (for deps.edn dependencies)
- Babashka
- Bun (for JavaScript dependencies)
bb devThis starts an nREPL with shadow-cljs middleware. Connect your editor, then in the REPL:
(start!) ; start shadow-cljs + portfolio on http://localhost:3000
(stop!) ; stop shadow-cljs
(cljs-repl!) ; connect to browser CLJS REPL (exit with :cljs/quit)bb watchbb test # run RCT tests
bb watch-tests # re-run on file changesbb outdated # show outdated dependencies
bb clean # remove build artifactsComponent examples and demos are managed through Portfolio. Add your component examples in the portfolio/ directory to see them at http://localhost:3000.
.
├── src/ # Core ClojureScript source files
├── portfolio/ # Component examples and demos (Portfolio scenes)
├── dev/ # REPL helpers (user.clj)
└── resources/ # Static assets and public files