0.1.0 • Published 10 years ago

grunt-ogel v0.1.0

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

grunt-ogel

Grunt task that leverages the ogel templating system.

Installation

npm install grunt-ogel --save-dev

Usage

The task requires that 3 options be set.

  1. src: this is where your html files reside
  2. dest: this is where you want ogel to put the final output
  3. templateDir: this is where your template files reside

Example

//gruntfile.js

grunt.initConfig({
    ogel: {
        main: {
            options: {
                src: 'src',
                templateDir: 'src/templates',
                dest: 'build'
            }
        }
    }
});