grunt-compiled-jade
v0.1.0
Published
compile jade template.
Downloads
4
Readme
grunt-compiled-jade
compile jade template.
install
% cd your/grunt/project/root
% npm install grunt-compiled-jade --save-dev
usage
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
compiled_jade: {
dev: {
template: '../views/partial/*.jade',
dest: 'js/jade.js',
runtime: 'node_modules/jade/runtime.js',
prefix: 'template'
}
}
});
grunt.loadNpmTasks('grunt-compiled-jade');
grunt.registerTask('default', ['compiled_jade:dev']);
};