Skip to content

catberry/catberry-handlebars

Repository files navigation

Catberry Handlebars Adapter

Gitter

It is an adapter for Handlebars template engine that makes possible to use it from Catberry application.

Installation

npm install catberry-handlebars --save

Usage

You can use the adapter in ./browser.js, ./server.js or ./build.js as following:

const handlebars = require('catberry-handlebars');
const cat = catberry.create(config);
handlebars.register(cat.locator);

In fact, Catberry CLI does it for you while generating a project.

Contributing

There are a lot of ways to contribute:

Denis Rechkunov [email protected]