Created
August 5, 2017 08:06
-
-
Save monkindey/bbe948923a021e6764ae09083807c8d9 to your computer and use it in GitHub Desktop.
How to customize your view engine 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('view engine', 'html'); | |
app.engine('html', require('ejs').renderFile); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment