Catberry adapter for Pug template engine
JavaScript
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
browser
lib
.editorconfig
.eslintignore
.eslintrc
.gitignore
.npmignore
.travis.yml
CONTRIBUTING.md
LICENSE
README.md
index.js
package.json

README.md

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