grunt-handlebars-js

0.1.2 • Public • Published

grunt-handlebars

Precompile handlebars templates. Written in 100% pure JS.

Getting Started

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

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

Usage:

 
  grunt.initConfig({
      handlebars: {
          'dest.js': [ 'client/lib/**.handlebars' ]
      },
 
      /* ... */
 
  });
 
  grunt.loadNpmTasks('grunt-handlebars-js');

Documentation

(Coming soon)

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using grunt.

Release History

(Nothing yet)

License

Copyright (c) 2012 Karl Gyllstrom
Licensed under the MIT license.

Dependents (0)

Package Sidebar

Install

npm i grunt-handlebars-js

Weekly Downloads

12

Version

0.1.2

License

none

Last publish

Collaborators

  • gyllstromk