Skip to content

Latest commit

 

History

History
34 lines (23 loc) · 1.1 KB

README.md

File metadata and controls

34 lines (23 loc) · 1.1 KB

Catberry Pug Adapter

Gitter

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

Installation

npm install catberry-pug --save

Usage

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

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

In fact, Catberry CLI does it for you.

Contributing

There are a lot of ways to contribute:

Miha Vizovišek [email protected]