diff --git a/examples/simple/README.md b/examples/simple/README.md new file mode 100644 index 0000000..a2e5bc4 --- /dev/null +++ b/examples/simple/README.md @@ -0,0 +1,7 @@ +# Reagent example app + +Run "`lein figwheel`" in a terminal to compile the app, and then open example.html. + +Any changes to ClojureScript source files (in `src`) will be reflected in the running page immediately (while "`lein figwheel`" is running). + +Run "`lein clean; lein with-profile prod compile`" to compile an optimized version. diff --git a/examples/simple/example.html b/examples/simple/example.html index b7dfeab..0caf43b 100644 --- a/examples/simple/example.html +++ b/examples/simple/example.html @@ -2,18 +2,12 @@ - reagent simple example + Example
-

Reagent example app

- -

Run "lein figwheel" in a terminal to compile, wait a while, and then refresh the browser.

- -

Any changes to .cljs files will be reflected in the running page immediately.

- -

Run "lein clean; lein with-profile prod compile" to compile an optimized version.

+

Reagent example app – see README.md