nunjucks-middleware

0.0.2 • Public • Published

Nunjucks Middleware

See example/

 app.use(nunjucksMiddleware({
    src: "/views",
    output: "/public/js/templates.js",
    endpoint: "/js/templates.js",
    express: app,
    debug: true
  }));
  app.use(app.router);
  app.use(express.static(__dirname + '/public'));

Dependents (0)

Package Sidebar

Install

npm i nunjucks-middleware

Weekly Downloads

0

Version

0.0.2

License

Apache-2.0

Last publish

Collaborators

  • lukechilds