Name: task-oriented-ui-poc
Owner: Health Samurai Team
Description: null
Created: 2017-08-23 12:35:29.0
Updated: 2017-08-23 12:36:04.0
Pushed: 2017-10-02 10:11:11.0
Homepage: null
Size: 424
Language: Clojure
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Install Leiningen
n repl
start-fw)
Open localhost:3000
We use bootstrap-4 with Garden for local styles (just in components).
n component []
iv.component-class
tyles/style [:.compoent-class {:border-bottom "1px solid #ddd"
:padding-bottom 0}
[:nested-tags {:border-bottom "3px solid transparent"}
[:&.active {:border-color "#555"}]]])
....
])
TODO: form builder and validation
"path" {[:param] {:. :page-key}}
=> this page will be accessible by “/path/[param]”If you page is huge, you could split it into re-frame modules like /page/events.cljs, page/view.cljs etc (see https://github.com/Day8/re-frame/wiki/A-Larger-App)
with-profile prod cljsbuild once ui
esources/public/index.html build/
R build
Deploy is automatically build and deplpoy app to S3 bucket from Circle CI Deploy config file located in .circleci/config.yml. Also, you can install CircleCi CLI for validating config.yml file and test deploy locally
leci config validate
leci build