After installing dependencies and setting up an editor, the following should be enough to get you started with Portal development.
user.cljA 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 :devBy 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 builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |