Skip to content

Instantly share code, notes, and snippets.

@timgilbert
Created December 4, 2014 05:23
Show Gist options
  • Save timgilbert/9c1628d92f2ee1988357 to your computer and use it in GitHub Desktop.
Save timgilbert/9c1628d92f2ee1988357 to your computer and use it in GitHub Desktop.
kioo NPE on bad filename
(ns kioo-example.core
(:require [reagent.core :as reagent]
[kioo.reagent :as kioo])
(:require-macros [kioo.reagent :refer [defsnippet deftemplate]]))
(deftemplate error "incorrect-filename.html" [])
;; this is the cljsbuild setup from project.clj
{
:cljsbuild {:builds {:app {:source-paths ["src/cljs"]
:compiler {:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:source-map "resources/public/js/out.js.map"
:externs ["react/externs/react.js"]
:optimizations :none
:pretty-print true}}}}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment