/grunt-ogel

grunt task that leverages ogel

Primary LanguageJavaScriptMIT LicenseMIT

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'
            }
        }
    }
});