Liking cljdoc? Tell your friends :D

Development

After installing dependencies and setting up an editor, the following should be enough to get you started with Portal development.

user.clj

A good place to start poking around is in the user namespace. It has a bunch of useful example code for development. Take a peek to get going, but here are a few important bits.

:mode :dev

By default, anytime a Portal window is opened, it loads the production UI. If you intend to edit the UI code, you will need to start Portal with the following option:

(portal.api/open {:mode :dev})

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close