waibu-nunjucks
v1.0.0
Published
Nunjucks support for Waibu MPA
Downloads
6
Maintainers
Readme
wakatobi-nunjucks
Plugin name: wakatobiNunjucks, alias: wktbnunjucks
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)