catberry-pug

Catberry adapter for Pug template engine

Usage no npm install needed!

<script type="module">
  import catberryPug from 'https://cdn.skypack.dev/catberry-pug';
</script>

README

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