angel_hbs

Handlebars view generator for Angel.

Installation

In pubspec.yaml:

dependencies:
    angel_mustache: ">= 1.0.0-dev < 2.0.0"

Usage

app.configure(mustache(new Directory('views')));
res.render('hello', {'name': 'world'});

Options

  • partialsPath: A path within the viewsDirectory to search for partials in. Default is ./partials. Include the leading dot, please.

  • fileExtension: The file extension to search for. Default is .mustache.

Libraries

angel_mustache