require-can-renderers

0.0.2 • Public • Published

require-can-renderers

CanJS view renderers for the Require.js

Installation

$ npm install require-can-renderers --save

Add paths to your requirejs config:

	require.config({
		"paths": {
			"ejs"      : "node_modules/require-can-renderers/lib/ejs",
			"mustache" : "node_modules/require-can-renderers/lib/mustache",
			"stache"   : "node_modules/require-can-renderers/lib/stache"
		}
	});

This will support both loading the templates in the development environment and compiling them with the r.js optimizer.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i require-can-renderers

Weekly Downloads

2

Version

0.0.2

License

none

Last publish

Collaborators

  • retro