Like the official quickstart, but without the extra steps.
You'll likely want to change the name from shadow-reagent
to whatever your project is called. Here's where you need to do that:
- In the
shadow-cljs.edn
file in the project root (so yourinit
fn will be called) - Rename the directories in the
main
andtest
paths (inside thesrc
directory inside the project root)- make sure to change hyphens (-) to underscores (_). - In the
ns
macro at the top ofapp.cljs
Now you can do the thing:
$ npm install
added 97 packages from 106 contributors in 5.984s
Start the development process by running:
$ npx shadow-cljs watch app
...
[:app] Build completed. (134 files, 35 compiled, 0 warnings, 5.80s)
Or simply jack-in
from your editor. Your app will be served at: at http://localhost:8080.
npx shadow-cljs release app