Core: Is it possible to change the view engine?

Created on 10 Feb 2018  路  4Comments  路  Source: adonisjs/core

I personally come from a Django background so personally prefer template syntax like Jinja2 / Nunjucks as opposed to blade / edge.

Is there any way to do this at the moment or any plans to add it in the future?

Most helpful comment

Closing since not actionable

All 4 comments

It won't ever be added into adonis-framework but you could have a go at making your own. I have made a Pug templating provider, that mirrors the api of the build in edge engine and it wasn't too difficult - https://github.com/webdevian/adonis-pug

Awesome, thanks @webdevian

Closing since not actionable

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

milosdakic picture milosdakic  路  3Comments

umaams picture umaams  路  3Comments

ghost picture ghost  路  3Comments

itsg2jakhmola picture itsg2jakhmola  路  3Comments

douglaszaltron picture douglaszaltron  路  3Comments