Permalink
Browse files

Merge pull request #473 from airportyh/scaffolding_to_output_template…

…s_prop_in_component_json

Added to template property instead of scripts for templates.
  • Loading branch information...
2 parents 8002879 + f1a3594 commit b1f81b032e8f565caeb97112f4310559393c340a @anthonyshort anthonyshort committed Feb 4, 2014
Showing with 1 addition and 2 deletions.
  1. +1 −2 bin/component-create
@@ -115,8 +115,7 @@ program.prompt(prompt, function(obj){
// html
if (bool(obj.html)) {
- conf.scripts = conf.scripts || [];
- conf.scripts.push('template.js');
+ conf.templates = ['template.html'];
write(join(dir, 'template.html'), '');
}

0 comments on commit b1f81b0

Please sign in to comment.