Skip to content

ClojureScript projectsλ︎

Practicalli ClojureScript covers the development of websites and single page apps (SPA) with figwheel-main build tool and the react-style reagent library

practicalli/clojure-deps-edn defines the :middleware/cider-cljs alias which provides the nREPL connection support specifically for a ClojureScript REPL.

Figwheel-main projectsλ︎

Create ClojureScript projects using figwheel-main template. Rename the :fig alias to figwheel to clarify the name.

Run the project with nREPL and CIDER libraries

clojure -M:figwheel:middleware/cider-cljs

clojurescript-figwheel-main-external-repl-middleware-cider-cljs.png

Choose cider-connect-cljs when using sesman-start

ClojureScript figwheel-main connect-cljs

Confirm ClojureScript figwheel-main connect-cljs localhost

Confirm localhost post for tictactoe project

ClojureScript figwheel-main connect-cljs localhost port

Confirm figwheel-main build tool

ClojureScript figwheel-main connect-cljs figwheel-main build tool

Confirm dev build configuration

ClojureScript figwheel-main connect-cljs figwheel-main build configuration dev

SPC b m to open the message buffer which shows the output from nREPL server.

ClojureScript figwheel-main connect-cljs nrepl output in message buffer


Last update: December 25, 2022