Skip to content

vojto/hem-haml-coffee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

hem-haml-coffee

Use HAML in your Spine application!

This package lets you use great library haml-coffee with hem server, usually in a Spine application.

Installation

Assuming you're in your Spine application folder.

One line installation: npm install hem-haml-coffee

The proper way:

Add this to your package.json:

{
  "dependencies": { 
    "hem-haml-coffee": "*"
  }
}

Run npm install .

Using it

Create slug.js with the following contents:

var argv = process.argv.slice(2);
var hem = require('hem-haml-coffee')
hem.exec(argv[0]);

Run hem server!

How does it work

slug.js loads hem-haml-coffee and passes it the argument.

hem-haml-coffee loads hem, sets it up to understand .haml files, and returns it.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published