jaguar_mustache 0.5.0 copy "jaguar_mustache: ^0.5.0" to clipboard
jaguar_mustache: ^0.5.0 copied to clipboard

Dart 1 only

Jaguar interceptors to render mustache templates

jaguar_mustache #

Jaguar interceptors to render mustache templates

Example #

@Api(path: '/api')
class ExampleApi extends _$JaguarExampleApi {
  @Get(path: '/file')
  @WrapMustacheRender('example/test.template.html')
  Future<Map<String, String>> mustacheFile() async {
    return {'login': 'Kleak'};
  }

  @Get(path: '/str')
  @WrapMustacheStrRender(kTemplate)
  Future<Map<String, String>> mustacheStr() async {
    return {'login': 'Kleak'};
  }
}
0
likes
20
pub points
0%
popularity

Publisher

unverified uploader

Jaguar interceptors to render mustache templates

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

jaguar, mustache

More

Packages that depend on jaguar_mustache