mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-29 13:11:10 +08:00
add 'rich' option for component generator
This commit is contained in:
1 parent
7242c7030f
commit
9e7503bc10
2 files changed
+17
-2
No files matched your search
@@ -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