mirror of
https://github.com/status-im/re-natal.git
synced 2025-01-12 21:54:14 +00:00
dfa5cdece8
- using latest available version of lein-figwheel [0.5.0-6] - figwheel now 'thinks' it is running in node.js environment (thanks @artemyarulin for hints) - figwheel :heads-up-display is now disabled. Compilation warnings are still logged and shown in yellow box on screen. (thanks @seantempesta for hint)
16 lines
500 B
Clojure
16 lines
500 B
Clojure
(ns ^:figwheel-no-load env.$PLATFORM$.main
|
|
(:require [om.next :as om]
|
|
[$PROJECT_NAME_HYPHENATED$.$PLATFORM$.core :as core]
|
|
[$PROJECT_NAME_HYPHENATED$.state :as state]
|
|
[figwheel.client :as figwheel :include-macros true]))
|
|
|
|
(enable-console-print!)
|
|
|
|
(figwheel/watch-and-reload
|
|
:websocket-url "ws://localhost:3449/figwheel-ws"
|
|
:heads-up-display false
|
|
:jsload-callback #(om/add-root! state/reconciler core/AppRoot 1))
|
|
|
|
(core/init)
|
|
|
|
(def root-el (core/app-root)) |