node package manager


Expose your Emblem views in the browser using connect-assets.


Expose your emblem views to Ember in the browser using connect-assets.

Forked and adapted from connect-assets-jade.

Installation (via npm)

$ npm install connect-assets-emblem

See example app in /example directory.

Integration with connect-assets is done like so:

var express = require('express')
  , assets = require('connect-assets')
  , emblemAssets = require('connect-assets-emblem') // <-- here 
  , PORT = 3000;
var app = express.createServer();
  app.set('views', __dirname + '/views');
  app.set('view engine', 'emblem');
  app.set('view options', {layout: false});
    jsCompilers: {
      emblem: emblemAssets() // <-- and here 
app.get('/', function(req, res){
app.listen(PORT, function(){
  console.log('Example app for connect-assets-emblem running on port %d.', PORT);
  • Troy Goode for writing the original connect-assets-jade module for doing the same thing with jade templates.

MIT License

Visnu Pitiyanuvath