Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 424 Bytes

File metadata and controls

15 lines (11 loc) · 424 Bytes

blade-template-jetbrick

How to use the Jetbrick-Template route for Blade example:

Blade blade = Blade.of();
blade.templateEngine(new JetbrickTemplateEngine());

blade.get("/show", ctx -> {
    ctx.attribute("name", "blade-1.6");
    ctx.render("views/show.jetx");
});

Jetbrick-Template refer: https://github.com/subchen/jetbrick-template-2x