lein-noir
lein-noir copied to clipboard
use hiccup.core required in default welcome.clj?
Upon creating a new lein project, the default page tells me to get going by adding the following to welcome.clj:
(defpage "/my-page" []
(html
[:h1 "This is my first page!"]))
but the html symbol is not resolved. Had to add a :use hiccup.core :only [html] to the ns macro at the top of welcome.clj.
See also https://github.com/noir-clojure/noir/issues/134
It is quite surprising it takes > 3 months to fix something that simple :-(