clojure - Noir - unable to resolve symbol html5 in this context -


I am trying to use Noir and are following the tutorial which is given on the default tutorial and Using this code

  (defpage "/ my-page" [] (html5 [: h1 "This is my first page!"]))   

However, Closer refuses to make an error and work.

How does your namespace announcement look like?

Chances are that you are not using ing and html5 .

defpage is noir.core namespace and html5 either hiccipop-page-helpers (Hiccup version <1) or is in hiccup. Page (Hiccup version> = 1) Name space.

If you use Noir template,

Comments