This project creates a fully functional ClojureScript project for you, using the stack of ClojureScript, reagent and shadow-cljs. CSS is built using tailwindcss, but you can easily replace it if you like.
Run a production build in one command:
yarn build
This generates all minified and optimized files in public
ready to get deployed.
Create a copy of this project. Then, run the following commands:
# install dependencies
yarn
# start development server and tailwindcss
yarn dev
Open your browser at http://localhost:8000/. You now have a REPL running, hot-reloading of CSS and your ClojureScript files.
yarn dev
runs both, shadow-cljs and tailwindcss in a watch-mode so that you
have an interactive development experience. You can, of course, start those jobs
individually or connect to your REPL from your editor.
I recommend using VS Code with the Calva plugin. Here is a demo on how to start and connect a REPL with it.
demo.mp4
Check outdated Clojure dependencies with:
clj -M:outdated
And JavaScript-Dependencies:
yarn outdated
This project is MIT licensed.