re-frame/examples/simple
Mike Thompson cd7c85e547 Improve Instructions on simpleexample 2016-10-19 21:25:06 +11:00
..
devsrc/simpleexample newlines and eof newline 2016-04-11 11:31:29 +12:00
resources/public Fixed simple example so that both "lein figwheel" and "lein clean" actually work. Updated README. 2015-05-08 15:01:19 +10:00
src/simpleexample Rewrite simple example to match new README WIP 2016-10-19 21:25:05 +11:00
README.md Improve Instructions on simpleexample 2016-10-19 21:25:06 +11:00
project.clj Move to new clojurescript deps 2016-08-30 20:02:18 +10:00

README.md

A Simple App

This tiny application is meant to provide a quick start of the basics of re-frame.

All the code is in one namespace /src/simpleexample/core.cljs

Run It And Change It

Steps:

A. Check out the re-frame repo

  1. Get a command line
  2. cd to the root of this sub project (where this README exists)
  3. run "lein do clean, figwheel" to compile the app,
  4. open http://localhost:3449/example.html to see the app

Whileever step 3 is running, any changes you make to the ClojureScript source files (in src) will be re-compiled and reflected in the running page immediately.

Production Version

Run "lein do clean, with-profile prod compile" to compile an optimized version, and then open resources/public/example.html.