End Users this project is not for you.
With webly you can build clj/cljs web apps (server: clj, frontend: reagent/reframe)
webly uses great tools such as: reagent, reframe, tailwind-css, shadow-cljs
webly brings a things that can be hard to configure (or repetitive) when you develop a web app such as:
webly is used in Goldly.
Clone this repo and run:
./scripts/prep-res.sh
clojure -X:webly ; The demo runs a webserver on port 8000. "shadow-cljs watch" mode
The source code of the demo is in profiles/demo.
If this was your app, after you are finished developing it, you might compile it:
clojure -X:webly :profile '"compile"' ; Build cljs bundle, and output bundle stats
clojure -X:webly :profile '"jetty"' ; Serves website from precompiled bundle.
clojure -X:webly :profile '"release"' ; Build cljs bundle, output bundle stats. no tenx. no source-maps
clojure -X:webly :profile '"jetty"' ; Serves website from precompiled bundle.
Bidi is not as highly starred as compojure, but it has important benefits:
To start webly you have to pass it two parameter: profile and config
Webly profile can be one of the following strings:
Webly config:
lein webly npm-install
and npm outdated
to see if there are newer versions availableAdd npm dependencies that you want to use into a clojure deps.cljs
{:npm-deps
{; font awesome
"@fortawesome/fontawesome-free" "^5.13.0"
Sometimes github repo and npm module do not match. Check this to see what goes on: https://unpkg.com/@ricokahler/oauth2-popup-flow@2.0.0-alpha.1/index.js
clojure -X:test
./scripts/test-cljs.sh
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close