usecases
You have two options:
This configures goldly with your set of ui-renderers. This example adds gorilla-ui to goldly:
Add this alias to your deps.edn:
:goldly
{:extra-deps {org.pinkgorilla/goldly {:mvn/version "0.2.39"}
org.pinkgorilla/gorilla-ui {:mvn/version "0.3.21"}}
:exec-fn goldly-server.app/goldly-server-run!
:exec-args {:profile "watch"
:config {:goldly {:extensions [[pinkgorilla.ui.goldly]
]}}}}
You have to include the ui-renderer dependencies, and then add the namespace of the ui-renderer to goldly/extensions. This allows goldly to add the ui extensions to the javascript bundle.
To run goldly with some demonstration systems
lein goldly watch ; runs a webserver on port 8000.
http://localhost:8000
running systems
and then snippet registry
The source code of the registry systems is in src/systems
.
The snippets are in resources/snippets/
The snippets are primitive, but demonstrate certain features of goldly:
Can you improve this documentation?Edit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close