Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Grunt file to compile Handlebars template

branch: master

This branch is 0 commits ahead and 0 commits behind master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

grunt-handlebars

Grunt task for precompiling Handlebars template.

Getting Started

Install this grunt plugin next to your project's grunt.js gruntfile with: npm install grunt-handlebars

Then add this line to your project's grunt.js gruntfile:

grunt.loadNpmTasks('grunt-handlebars');

Usage

// Project configuration.
grunt.initConfig({
  handlebars: {
    all: {
      src: 'templates',
      dest: 'js/templates.js'
    }
  }
});

Note: src should point to the templates directory which contains the *.handlebars files.

Release History

  • June 14, 2012 - 0.0.4 Fix task by making it asynchronous
  • June 14, 2012 - 0.0.3 Bug Fix + removed dependency on node-ffi
  • May 30, 2012 - 0.0.2 Minor fixes
  • May 29, 2012 - 0.0.1 First release

License

Copyright (c) 2012 - Intellum Inc. Licensed under the MIT License http://intellum.com

Something went wrong with that request. Please try again.