Core: How to change Template Engine?

Created on 7 Jan 2017  路  3Comments  路  Source: adonisjs/core

Is there any way to change the template engine would rather use something like pug.

Most helpful comment

@jaysg Pug was a must-have for me too (lots of mixins I use across projects/platforms), so I've written a simple pug provider for adonis https://www.npmjs.com/package/adonis-pug

All 3 comments

I think nunjuckis better than pug :D

AdonisJs does not allow to configure template engines, since the idea of the framework is not have lot of boilerplate. nunjucks serve the purpose well and allowing too many template engines will be confusion for beginners coming into the eco-system.

@jaysg Pug was a must-have for me too (lots of mixins I use across projects/platforms), so I've written a simple pug provider for adonis https://www.npmjs.com/package/adonis-pug

Was this page helpful?
0 / 5 - 0 ratings

Related issues

blendsoft picture blendsoft  路  3Comments

danilopolani picture danilopolani  路  4Comments

themodernpk picture themodernpk  路  3Comments

devcaststudio picture devcaststudio  路  3Comments

PC-HUB picture PC-HUB  路  4Comments