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.ednfile in the project root (so yourinitfn will be called) - Rename the directory in the
srcpath (inside the project root)- make sure to change hyphens (-) to underscores (_). - In the
nsmacro at the top ofapp.cljs
Now you can do the thing:
$ npm install
added 97 packages from 106 contributors in 5.984sStart 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