Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
process ejs template
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib sample extensions.
tasks
test
.gitignore
Gruntfile.js
README.md
package.json

README.md

grunt-simple-ejs

process ejs template

usage

module.exports = function(grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),

        ejs: {
           dev: {
               templateRoot: 'src/ejs',
               template: [ '*.ejs', 'article/*.ejs' ],
               dest: './',
               include: ['bower_components/external-templates/*.ejs'],
               options: [ 'option.dev.json', { env: 'dev' } ]
           }
        }
    });

    grunt.loadNpmTasks('grunt-simple-ejs');
    grunt.registerTask('default', ['ejs:dev']);
};
Something went wrong with that request. Please try again.