Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
holyjak opened this issue Oct 26, 2012 · 1 comment
Open

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

holyjak opened this issue Oct 26, 2012 · 1 comment

Comments

@holyjak
Copy link
Contributor

holyjak commented Oct 26, 2012

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.

@holyjak
Copy link
Contributor Author

holyjak commented Oct 26, 2012

I see there actually already is an issue for this in lein-noir: ibdknox/lein-noir#11 Still not sure where the fix fits best.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant