Skip to content

Latest commit

 

History

History
14 lines (7 loc) · 418 Bytes

README.md

File metadata and controls

14 lines (7 loc) · 418 Bytes

ejs-fetch-example

An alternative way to render data in ejs. The standard way is to pass variables in the context while calling res.render.

But, if you wish to build you backend API, which is concerned with responding with JSON only, then you might need this!

An example/practice repo

Tips

  • use await infront of include tags for ejs