Created
December 10, 2016 00:49
-
-
Save cggaurav/db1bf66350dffd7a4bc12368f2d64ccc to your computer and use it in GitHub Desktop.
grunt compile handlebars
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
globbedTemplateAndOutput: { | |
files: [{ | |
src: 'src/views/index.mustache', | |
dest: 'www/index', | |
ext: '.html', | |
expand: false | |
},{ | |
src: 'src/views/pages/about.mustache', | |
dest: 'www/about/index', | |
ext: '.html', | |
expand: false | |
}, { | |
src: 'src/views/pages/products.mustache', | |
dest: 'www/products/index', | |
ext: '.html', | |
expand: false | |
}, { | |
src: 'src/views/pages/press.mustache', | |
dest: 'www/press/index', | |
ext: '.html', | |
expand: false | |
}, { | |
src: 'src/views/pages/contact.mustache', | |
dest: 'www/contact/index', | |
ext: '.html', | |
expand: false | |
}], | |
templateData: 'src/views/data/content.json', | |
partials: 'src/views/partials/**/*.mustache', | |
handlebars: 'node_modules/handlebars' | |
}, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment