Skip to content

Failure in getting started due to missing :use of hiccup.core #134

@holyjak

Description

@holyjak

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions