mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
add 'rich' option for component generator
This commit is contained in:
@@ -10,8 +10,11 @@ util.inherits(ComponentGenerator, ScriptBase);
|
||||
|
||||
ComponentGenerator.prototype.createComponentFile = function createComponentFile() {
|
||||
this.option('es6');
|
||||
this.option('rich');
|
||||
|
||||
this.es6 = this.options.es6;
|
||||
this.rich = this.options.rich;
|
||||
console.log(this.architecture)
|
||||
|
||||
console.log('Creating a component');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user