Install Expo XDE and mobile client
If you don't want to use XDE (not IDE, it stands for Expo Development Tools), you can use exp CLI.
yarn global add exp
yarn install
exp signup
lein figwheel
boot dev
;; then input (cljs-repl) in the connected clojure repl to connect to boot cljs repl
exp start -a --lan
exp start -i --lan
require
module:
(def cljs-logo (js/require "./assets/images/cljs.png"))
(def FontAwesome (js/require "@exponent/vector-icons/FontAwesome"))
- Reload simulator or device
Since Figwheel already does those.
lein prod-build
boot prod