-
-
Notifications
You must be signed in to change notification settings - Fork 16.2k
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
Add .set() to Express Router #2558
Comments
Hi! We won't add |
Nah, I'll fork it and then do my own implementation. Thanks anyway! |
No problem 👍 let me know how the fork goes, though; the router code won't even exist in Express 5, haha. |
P.S. this issue is a duplicate of #2524 |
Hello,
I've been working on a project and pretend using both EJS and Jade for it.
For this purpose, I thought separating stuff in multiple routers would work. However, when I tried to run it, I noticed the
express.Router()
does not include arouter.set('view engine', 'ejs')
. I am currently getting the files usingfs
and it works fine, but I really would like to have the advantages and simpler code that rendering with Express has.The text was updated successfully, but these errors were encountered: