re-frame/examples/simple
Mike Thompson 6594a69ed2 Merge pull request #396 from ashewring/for-upstream
Fixed some typos
2017-09-06 23:43:54 +10:00
..
resources/public WIP on the new README and initial docs 2016-10-21 07:07:56 +11:00
src/simple Fixed some typos 2017-08-14 17:34:13 +12:00
README.md Fix simple example namespace 2017-07-14 06:26:04 +02:00
project.clj Upgrade all dependencies to the latest. This means moving to cljs.spec.alpha in todomvc example 2017-08-17 21:40:58 +10:00

README.md

A Simple App

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

A detailed source code walk-through is provided in the docs: https://github.com/Day8/re-frame/blob/master/docs/CodeWalkthrough.md

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

Run It And Change It

Steps:

  1. Check out the re-frame repo
  2. Get a command line
  3. cd to the root of this sub project (where this README exists)
  4. run "lein do clean, figwheel" to compile the app and start up figwheel hot-reloading,
  5. open http://localhost:3449/example.html to see the app

While step 4 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 optimised version, and then open resources/public/example.html in a browser.