https://github.com/defsquare/training-clojure-cljs
ClojureScript Immersion Training
https://github.com/defsquare/training-clojure-cljs
Last synced: 5 months ago
JSON representation
ClojureScript Immersion Training
- Host: GitHub
- URL: https://github.com/defsquare/training-clojure-cljs
- Owner: defsquare
- Created: 2023-10-02T15:47:10.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-10-02T18:02:50.000Z (over 2 years ago)
- Last Synced: 2025-06-04T08:14:43.751Z (about 1 year ago)
- Language: HTML
- Size: 36.1 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Defsquare ClojureScript Immersion
A simple tools-deps project for clojurescript training. Includes :
- shadow-cljs for packaging and dev tools
- reagent as react wrapper
- tailwindcss for design system
## Usage
To launch a watcher which hot reload your code, just type
```shell
clj -A:shadow-cljs watch app
```
and go to http://localhost:3000
## REPL
To setup cursive REPL for cljs, you need to create an nREPL connected to shadow-cljs REPL as remote.
1. Run -> Run... -> Edit Configurations... -> + -> Clojure REPL -> Remote
2. Connect to server -> host localhost -> port 9000
3. Launch your app with `clj -A:shadow-cljs watch app` then go to `localhost:3000`
4. Launch your REPL and type `(shadow/repl :app)`
5. you can now evaluate forms in cursive REPL and interact with browser