Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.17 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.17 KB

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]