0.0.6 • Published 10 years ago

grunt-mew-template v0.0.6

Weekly downloads
-
License
MIT
Repository
-
Last release
10 years ago

grunt-mew-template

Install

npm i -D grunt-mew-template

Usage

grunt.initConfig({
    template: {
        options: {
            engine: 'dot',
            syntax: '{{}}'
        },

        jst: {
            options: {
                engine: 'jst',
                syntax: '{{}}'
            },
            files: {
                'test/dest/jst.js': 'test/tpl/jst.tpl'
            }
        },

        dot: {
            options: {
                engine: 'dot',
                syntax: '<%%>'
            },
            files: {
                'test/dest/dot.js': 'test/tpl/dot.tpl'
            }
        },

        handlebars: {
            options: {
                engine: 'handlebars'
            },
            files: {
                'test/dest/handlebars.js': 'test/tpl/handlebars.tpl'
            }
        },

        xtemplate: {
            options: {
                engine: 'xtemplate'
            },
            files: {
                'test/dest/xtemplate.js': 'test/tpl/xtemplate.tpl'
            }
        }
    }
});
0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago