Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

res.render support? #162

Closed
1 of 2 tasks
harshmandan opened this issue Jan 4, 2021 · 4 comments
Closed
1 of 2 tasks

res.render support? #162

harshmandan opened this issue Jan 4, 2021 · 4 comments
Labels
feature request New feature request

Comments

@harshmandan
Copy link

harshmandan commented Jan 4, 2021

Feature Request

Is you/your team sponsoring this project

  • Yes
  • No

Request

Hello, is there any way I can render EJS/PugJS templates like res.render() function of expressJS. Maybe even as an optional plugin?

Thanks!

@harshmandan harshmandan added the feature request New feature request label Jan 4, 2021
@dalisoft
Copy link
Member

dalisoft commented Jan 4, 2021

Hi @harshmandan
Thanks for interesting. Happy new year!

Sorry, but there no support currently and not planned yet, but you can create your middleware to provide support on middlewares repository and I’ll check and merge if it meets requirements.
But implementing new one I don’t have a lot of times, so I don’t know how much time it takes.
On my next plan fastest file upload middleware, GraphQL improvements and then maybe handlebars support

@harshmandan
Copy link
Author

Okay!
Thanks for the reply. I also think that file-upload support is more important for now (Waiting for it). Also, maybe add multipart/form-data support as well.
Thanks!

@dalisoft
Copy link
Member

dalisoft commented Jan 6, 2021

Thank you for interesting to library.
Would be nice to keep issue opened as in future this feature may be implemented

@harshmandan harshmandan changed the title EJS support? res.render support? Feb 16, 2021
@dalisoft
Copy link
Member

File upload is implemented, but there more than just simple tasks to implement this feature. If anyone interested, you can create middleware, i'll add to nanoexpress/middlewares repository

@nanoexpress nanoexpress locked and limited conversation to collaborators Jul 24, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
feature request New feature request
Projects
None yet
Development

No branches or pull requests

2 participants