1.0.0 • Published 11 years ago
ejsify v1.0.0
ejsify
EJS precompiler for Browserify.
Installation
npm install ejsifyUsage
If you're compiling your code from the command-line, include -t ejsify:
browserify -t ejsify index.js -o bundle.jsAnd then you can use require() and get back bundled EJS templates.
var index = require('./views/index.ejs')
document.body.innerHTML = index({ title: 'ejsify' })