Skip to content

exponent-contrib/cljs-ex-navigation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cljs-ex-navigation

Usage

Install Exponent XDE and mobile client

If you don't want to use XDE (not IDE, it stands for Exponent Development Tools), you can use [exp CLI](https://docs.getexponent.com/versions/v11.0.0/guides/exp-cli.html).
    npm install -g exp

Install Lein

Install npm modules

    npm install

Signup using exp CLI

    exp signup

Start the figwheel server

    lein figwheel

Start Exponent server (Using exp)

Also connect to Android device
    exp start -a --lan
Also connect to iOS Simulator
    exp start -i --lan

Add new assets or external modules

  1. require module:
    (def cljs-logo (js/require "./assets/images/cljs.png"))
    (def FontAwesome (js/require "@exponent/vector-icons/FontAwesome"))
  1. Reload simulator or device

Make sure you disable live reload from the Developer Menu, also turn off Hot Module Reload.

Since Figwheel already does those.

Production build (generates js/externs.js and main.js)

lein prod-build

About

Example of using ex-navigation on Clojurescript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published