ykmnkmi / jinja.dart

Jinja2 template engine port for Dart.
https://pub.dev/packages/jinja
MIT License
52 stars 11 forks source link

Set up jinja with angel or aqueduct #1

Closed sainthasras closed 4 years ago

sainthasras commented 4 years ago

Hello 'Jinja for dart' team, I believe the two leading Dart server-side web frameworks are Aqueduct and Angel. Can you please show us (especially we newbies) how to configure Jinja for Angel and Aqueduct web frameworks?

The example you have shows how to use it in Dart. Please do show us how to do this in web frameworks too. Thank you.

ykmnkmi commented 4 years ago

Hello, created an example for aqueduct; There is a package for angel, but it needs to be updated.

Thanks for using 👍.

sainthasras commented 4 years ago

Hello, I ran the aqueduct example with 100% success. Someway somehow the Angel example still does not work. There is some 'defaultValue' error somewhere. Nonetheless, thanks so much for this swift response. I am grateful.

And thanks again for bringing the jinja flavour to Dart. I think it's a fantastic package and very easy to use. Regards.

ykmnkmi commented 4 years ago

angel-jinja fixed. You can use with git packages.

sainthasras commented 4 years ago

Sure. That works. Thank you. We are still waiting for your official documentation of the jinja template engine.

leonardoInf commented 4 years ago

@sainthasras This is basically a reimplementation of jinja2 where you should find useful user doc.