Set up a ClojureScript web server in one command with sitefox and shadow-cljs.
npm install create-sitefox-shadow-fullstackSet up a full-stack ClojureScript web server in one command using
sitefox
and shadow-cljs.
``shell`
npm create sitefox-shadow-fullstack mywebapp
cd mywebapp
npm install
make watch
Then open src/mywebapp/server.cljs to edit the back end code.src/mywebapp/ui.cljs
Open to edit the front end code.
Code will be automatically reloaded. 👍
To make a production build into the build folder:
``
make
To run the production build:
```
cd build && node server.js
See the sitefox documentation for details on what you can do next.