Install node and then in root directory:
npm install
- run
npx shadow-cljs server
in IDE terminal - use Clojure REPL → Remote Run Configuration to connect to the provided nREPL server.
- Just select the "Use port from nREPL file" option
- Click on REPL at bottom of editor window.
- Click "Start your project with a REPL (aka Jack-in)" at the drop down that appears at the top of editor window."
- Select "shadow-cljs" project type.
- Select :hanami and press OK.
- You will see command "npx shadow-cljs -d cider/cider-nrepl:0.28.5 watch :hanami" run in the terminal window in the bottom pane of editor.
- Choose to connect to ":hanami" at the top.
- Open http://localhost:8700 in your browser.
- The REPL will then be connected to the javascript engine running the app in your browser.
- Similar to above?