mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
Fix passing options and add flexibility for component path
This commit is contained in:
+1
-1
@@ -10,6 +10,6 @@ var MainGenerator = module.exports = function MainGenerator(args, options, confi
|
||||
util.inherits(MainGenerator, ScriptBase);
|
||||
|
||||
MainGenerator.prototype.createAppFile = function createAppFile() {
|
||||
this.appTemplate('App', 'scripts/components/' + this.scriptAppName);
|
||||
this.appTemplate('App', 'components/' + this.scriptAppName);
|
||||
this.testTemplate('spec/App', 'components/' + this.scriptAppName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user