Templates for SSR (partials)

Hello !

In my workflow, I use a rsync-script to upload the whole site (project) to a (express)server (export script). This works excellent. But if i want do some SSR with a template engine (handlebars, for example), it would be a really great feature, to save custom “snipptes/partials” in the project folder.

For example, in Overview:
HTML
↓ BODY
↓ ↓ DIV
↓ ↓ ↓ DIV → right click: save as template, name as: tableRow1.hbs or tableRow1.html

and then, in the Design-Section:
Pages
↓ index.html
↓ partials
↓ ↓ tableRow1.hbs or tableRow1.html (without header, script, etc)

Is such a feature planned or possible ?
Best regards,
Stefan Burger

P.S.: You Software is awesome !! :wink:

i’m not sure but it’s look like bootstrap component (*.bscomp) that already in this app

I am afraid that we don’t plan to support template engines like Handlebars in the app, as these would introduce an enormous amount of complexity.

For doing stuff server side with node or other backends, you could achieve something similar to your suggestion by using Custom Code, the only disadvantage being it won’t be rendered in the app.

1 Like