2016-02-07 18:43:43 +00:00
|
|
|
(ns ^:figwheel-no-load env.$PLATFORM$.main
|
2016-02-10 21:14:05 +00:00
|
|
|
(:require [om.next :as om]
|
2016-02-07 18:43:43 +00:00
|
|
|
[$PROJECT_NAME_HYPHENATED$.$PLATFORM$.core :as core]
|
2016-02-10 23:24:17 +00:00
|
|
|
[$PROJECT_NAME_HYPHENATED$.state :as state]
|
2016-02-07 18:43:43 +00:00
|
|
|
[figwheel.client :as figwheel :include-macros true]))
|
|
|
|
|
|
|
|
(enable-console-print!)
|
|
|
|
|
|
|
|
(figwheel/watch-and-reload
|
|
|
|
:websocket-url "ws://localhost:3449/figwheel-ws"
|
2016-03-20 10:25:45 +00:00
|
|
|
:heads-up-display false
|
2016-02-10 23:24:17 +00:00
|
|
|
:jsload-callback #(om/add-root! state/reconciler core/AppRoot 1))
|
2016-02-10 21:14:05 +00:00
|
|
|
|
|
|
|
(core/init)
|
2016-02-07 18:43:43 +00:00
|
|
|
|
2017-05-30 18:09:51 +00:00
|
|
|
;; Do not delete, root-el is used by the figwheel-bridge.js
|
2016-02-10 21:14:05 +00:00
|
|
|
(def root-el (core/app-root))
|