You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
According to ./src/noir/content/getting_started.clj I should add (defpage "my-page" [] (html ...)) to views/weclome.clj. However that fails to compile because the welcome.clj produced by lein-noir doesn't refer to the html macro, i.e. something like (:use hiccup.core) or (:use [hiccup.core :only [html]]) must be added to the file to avoid RuntimeException: Unable to resolve symbol: html in this context.
I'm not sure whether it would be better to fix it in the getting started page or in lein noir.
The text was updated successfully, but these errors were encountered:
According to
./src/noir/content/getting_started.clj
I should add(defpage "my-page" [] (html ...))
toviews/weclome.clj
. However that fails to compile because the welcome.clj produced by lein-noir doesn't refer to the html macro, i.e. something like(:use hiccup.core)
or(:use [hiccup.core :only [html]])
must be added to the file to avoidRuntimeException: Unable to resolve symbol: html in this context
.I'm not sure whether it would be better to fix it in the getting started page or in lein noir.
The text was updated successfully, but these errors were encountered: