This example provides a proof of concept for simple EJS-based template rendering in ActionHero. Note that EJS is this author's favorite "simple" NodeJS template engine but it could easily be replaced with any other engine you wish.
- Copy
ejs.jstoinitializers/. - Create a folder called
templates/and copyleaderboard.jsthere. - Copy the sample 'getLeaderboard.js' action to
actions/.