Skip to content

Enables underscore templates in express 2 and 3. By Harald Rudell.

Notifications You must be signed in to change notification settings

einarq/uinexpress

This branch is up to date with haraldrudell/uinexpress:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

May 26, 2012
ae977b8 · May 26, 2012

History

6 Commits
May 26, 2012
May 26, 2012
May 26, 2012
May 26, 2012

Repository files navigation

uinexpress

Enables underscore templates in express versions 2 and 3.

Usage

in your express app.js, for express 3:

app.configure(function () {
	app.engine('html', require('uinexpress').__express)
	app.set('view engine', 'html')

in your express app.js, for express 2:

app.configure(function () {
	app.register('html', require('uinexpress'))
	app.set('view engine', 'html')

Notes

  • An alternative is to use ejs in the browser, see the module ejsinbrowser

About

Enables underscore templates in express 2 and 3. By Harald Rudell.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published