Skip to content

Playground for playing with shadow-cljs, clojurescript nrepl, reagent, re-frame and other cool stuff.

Notifications You must be signed in to change notification settings

jumski/clojurescript-sandbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

clojurescript-sandbox

This is my playground for playing with shadow-cljs, clojurescript nrepl, reagent, reframe and other cool stuff.

Install

Install shadow-cljs and npm deps for the project.

yarn global add shadow-cljs
npx shadow-cljs npm-deps

Running

Start shadow-cljs watch process:

npx shadow-cljs watch app

Connecting vim-fireplace repl is kinda quirky for now, this instructions are based on this comment @ tpope/vim-fireplace #322:

  1. Connect to the nREPL server :Connect (nrepl port is set to 4444)
  2. Upgrade REPL to a CLJS REPL :Piggieback :app (converts the clojure repl to a clojurescript repl)
  3. Open web page in a web browser (or any other trick which jits the clojurescript into the app)
  4. At this point calls to Eval will work

Build failure: The required namespace "cljs.user" is not available.

This is error that pops up after evaluating any code in vim-fireplace and it persistes for the shadow-cljs seseion until restarted, rendering shadow-cljs+fireplace combo unusable for time being, see: thheller/shadow-cljs#667

About

Playground for playing with shadow-cljs, clojurescript nrepl, reagent, re-frame and other cool stuff.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published