0.2.2 • Published 8 years ago

grunt-renderer v0.2.2

Weekly downloads
1
License
MIT
Repository
github
Last release
8 years ago

grunt-renderer

Renders Handlebars files with given data.

Getting Started

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

Then add this line to your project's Gruntfile.coffee:

grunt.loadNpmTasks 'grunt-renderer'

Documentation

grunt.initConfig

  # ... other configs

  renderer:
    index:
      cwd: 'public/'
      src: ['index.hbs']
      dest: 'index.html'

      # Data to be passed to the template
      options:
        data:
          favicon: 'http://cdn/favicon.ico'

  # ... other configs

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.

License

Copyright (c) 2013, Derek Petersen

Licensed under the MIT license.

0.2.2

8 years ago

0.2.1

10 years ago

0.2.0

10 years ago

0.1.3

11 years ago

0.1.2

11 years ago

0.1.1

11 years ago

0.1.0

11 years ago