Skip to content

223kazuki/re-integrant-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

re-integrant-app

An SPA using re-frame and integrant. Please read this post about this pattern.

Development Mode:

Start Cider from Emacs:

Put this in your Emacs config file:

(setq cider-cljs-lein-repl
    "(do (require 'figwheel-sidecar.repl-api)
         (figwheel-sidecar.repl-api/start-figwheel!)
         (figwheel-sidecar.repl-api/cljs-repl))")

Navigate to a clojurescript file and start a figwheel REPL with cider-jack-in-clojurescript or (C-c M-J)

Run application:

lein dev

Figwheel will automatically push cljs changes to the browser.
Wait a bit, then browse to http://localhost:3449.

Run tests:

lein clean
lein doo phantom test once

The above command assumes that you have phantomjs installed. However, please note that doo can be configured to run cljs.test in many other JS environments (chrome, ie, safari, opera, slimer, node, rhino, or nashorn).

Production Build:

lein do clean, build

About

Modularized SPA using re-frame and integrant.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published