This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-07-29
Channels
- # beginners (18)
- # boot (1)
- # cider (12)
- # clojure (18)
- # clojure-russia (5)
- # clojure-uk (8)
- # clojurescript (17)
- # cursive (7)
- # datomic (10)
- # editors (1)
- # figwheel-main (14)
- # hoplon (2)
- # hyperfiddle (1)
- # keechma (2)
- # leiningen (25)
- # off-topic (5)
- # onyx (3)
- # reagent (53)
- # reitit (6)
- # shadow-cljs (14)
- # spacemacs (3)
- # tools-deps (14)
- # uncomplicate (12)
I figured it out fyi in my core, just changed the app-def to fn’s
(defn app-definition
[]
(-> {:routes [[":page" {:page "login"}]]
:components ui
:controllers controllers
:subscriptions subscriptions
:html-element (.getElementById js/document "app")}
(dataloader/install datasources edb-schema)
(forms/install rm-ui-forms/forms rm-ui-forms/forms-automount-fns)))
(defonce running-app (clojure.core/atom nil))
(defn start-app! []
(reset! running-app (app-state/start! (app-definition))))