Skip to content

catberry/catberry-pug

Repository files navigation

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 miha.vizovisek@gmail.com