waibu-nunjucks

Nunjucks support for Waibu MPA


Keywords
nunjucks, view-engine, view, web, webserver, bajo, framework, fastify, modular
License
MIT
Install
npm install waibu-nunjucks@1.0.0

Documentation

wakatobi-nunjucks

Plugin name: wakatobiNunjucks, alias: wktbnunjucks

GitHub package.json version NPM Version


Attention: I do NOT accept any pull request at the moment, thanks!

Multi Pages App (MPA)'s Nunjucks View Engine support for Bajo's Web Framework.

Installation

Goto your <bajo-base-dir> and type:

$ npm install wakatobi-nunjucks

Now open your <bajo-data-dir>/config/.plugins and put wakatobi-nunjucks in it

Hooks

  • bajoWebMpaNunjucks:afterBuildLocals (locals, req)
  • bajoWebMpaNunjucks.<routeOpts.ns>:afterBuildLocals (locals, req)

License

MIT