Created
September 19, 2015 00:02
-
-
Save domgetter/5d0cfd19314c2cecf70e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject reagenttest "0.1.0-SNAPSHOT" | |
:description "FIXME: write description" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:dependencies [[org.clojure/clojure "1.7.0"] | |
[ring-server "0.4.0"] | |
[reagent "0.5.1"] | |
[reagent-forms "0.5.9"] | |
[reagent-utils "0.1.5"] | |
[ring "1.4.0"] | |
[ring/ring-defaults "0.1.5"] | |
[prone "0.8.2"] | |
[compojure "1.4.0"] | |
[hiccup "1.0.5"] | |
[environ "1.0.0"] | |
[org.clojure/clojurescript "1.7.122" :scope "provided"] | |
[secretary "1.2.3"]] | |
:plugins [[lein-environ "1.0.0"] | |
[lein-asset-minifier "0.2.2"]] | |
:ring {:handler reagenttest.handler/app | |
:uberwar-name "reagenttest.war"} | |
:min-lein-version "2.5.0" | |
:uberjar-name "reagenttest.jar" | |
:main reagenttest.server | |
:clean-targets ^{:protect false} [:target-path | |
[:cljsbuild :builds :app :compiler :output-dir] | |
[:cljsbuild :builds :app :compiler :output-to]] | |
:source-paths ["src/clj" "src/cljc"] | |
:minify-assets | |
{:assets | |
{"resources/public/css/site.min.css" "resources/public/css/site.css"}} | |
:cljsbuild {:builds {:app {:source-paths ["src/cljs" "src/cljc"] | |
:compiler {:output-to "resources/public/js/app.js" | |
:output-dir "resources/public/js/out" | |
:figwheel false | |
:asset-path "js/out" | |
:optimizations :none | |
:pretty-print true}}}} | |
:profiles {:dev {:repl-options {:init-ns reagenttest.repl} | |
:dependencies [[ring/ring-mock "0.2.0"] | |
[ring/ring-devel "1.4.0"] | |
[lein-figwheel "0.4.0"] | |
[org.clojure/tools.nrepl "0.2.10"] | |
[pjstadig/humane-test-output "0.7.0"]] | |
:source-paths ["env/dev/clj"] | |
:plugins [[lein-figwheel "0.4.0"] | |
[lein-cljsbuild "1.0.6"]] | |
:injections [(require 'pjstadig.humane-test-output) | |
(pjstadig.humane-test-output/activate!)] | |
:figwheel {:http-server-root "public" | |
:server-port 3449 | |
:nrepl-port 7002 | |
:css-dirs ["resources/public/css"] | |
:ring-handler reagenttest.handler/app} | |
:env {:dev true} | |
:cljsbuild {:builds {:app {:source-paths ["env/dev/cljs"] | |
:compiler {:main "reagenttest.dev" | |
:source-map true}}}}} | |
:uberjar {:hooks [leiningen.cljsbuild minify-assets.plugin/hooks] | |
:env {:production true} | |
:aot :all | |
:omit-source true | |
:cljsbuild {:jar true | |
:builds {:app | |
{:source-paths ["env/prod/cljs"] | |
:compiler | |
{:optimizations :advanced | |
:pretty-print false}}}}}}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hi there, it's shoky from irc, i'm going to bed so will just leave this here - you probably are just missing a
<div id="app"></div>
in your DOM. that's the error react is throwing