mirror of
https://github.com/wassname/generator-react-webpack.git
synced 2026-10-29 13:11:10 +08:00
add 'architecture' question, Reflux option, and related store and actionCreator
This commit is contained in:
1 parent
356df8ec9a
commit
f7bb3c2b80
15 files changed
+107
-42
No files matched your search
+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