mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-09-09 11:22:44 +08:00
add 'architecture' question, Reflux option, and related store and actionCreator
This commit is contained in:
+1
-1
@@ -22,7 +22,7 @@ MainGenerator.prototype.createMainFile = function createMainFile() {
|
||||
};
|
||||
|
||||
MainGenerator.prototype.createDispatcher = function createDispatcher() {
|
||||
if(this.env.options.flux) {
|
||||
if(this.env.options.architecture=='flux') {
|
||||
this.appTemplate('Dispatcher', 'dispatcher/' + this.scriptAppName + 'Dispatcher');
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user