PHP to Node conversion

It seems I now got confused as heck, because it seems EJS (the templating engine Wappler team chose for NodeJS) does supports includes, which are called “partials” in Wappler. So, your design could be like this:
index.ejs -> includes partial level1.ejs > includes partial level2.js

However, in that feature request topic, I wrote this:

So, you might get away with using partials, although the development experience might not be the best. It’s been a while since I touched this subject, so I don’t remember a lot of intricacies. I know for example in my user dashboard, I’m including the dashboard sidebar partial on every page, instead of just using a “user_dashboard” template as base that would automatically include everything I need

Pinging @JonL in case he has any comments to add

1 Like