Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/panthershark/grunt-templates
Generates a list of templates for requirejs. Could be used for any template walking.
https://github.com/panthershark/grunt-templates
Last synced: about 2 months ago
JSON representation
Generates a list of templates for requirejs. Could be used for any template walking.
- Host: GitHub
- URL: https://github.com/panthershark/grunt-templates
- Owner: panthershark
- Created: 2013-05-08T19:35:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-05-08T21:07:18.000Z (over 11 years ago)
- Last Synced: 2024-04-15T14:27:03.997Z (9 months ago)
- Language: JavaScript
- Size: 2.49 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
grunt-templates
===============Generates a list of templates for requirejs. Could be used for any template walking.
``javascript
grunt.initConfig({'grunt-templates': {
task1: {
viewResolver: {
view: {
base: ["./fixtures/views1", "./fixtures/views2"]
}
},
output: './output/templates.js'
},
task2: {
viewResolver: {
view: {
base: ["./fixtures/views1"]
}
},
output: './output/templates2.js'
}
}});
grunt.loadTasks("grunt-templates");
grunt.registerTask('default', ['grunt-templates']);
``