nunjucks-middleware
Middleware for recompiling nunjucks templates on the go
Last updated 7 years ago by k88hudson .
Apache-2.0 · Repository · Original npm · Tarball · package.json
$ cnpm install nunjucks-middleware 
SYNC missed versions from official npm registry.

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'));

Current Tags

  • 0.0.2                                ...           latest (7 years ago)

2 Versions

  • 0.0.2                                ...           7 years ago
  • 0.0.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 1
Dependencies (5)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |