Created
May 12, 2014 01:04
-
-
Save navarroaxel/06b09285539315a1a0ff to your computer and use it in GitHub Desktop.
How to use justhtml with Express
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| app.set('views', __dirname + '/views'); | |
| app.set("view options", {layout: false}); | |
| app.engine('html', require('justhtml').__express); | |
| app.set('view engine', 'html'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment