Last active
November 12, 2017 00:38
-
-
Save rafaelrozon/f51506cd3c5b4354d18baca3118c1b5c to your computer and use it in GitHub Desktop.
Setup Nunjucks for SailsJS
This file contains 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
module.exports.views = { | |
engine: { | |
ext: 'njk', | |
fn: require("consolidate").nunjucks | |
}, | |
layout: 'layout', | |
partials: false | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment