create-mvc-folder
v1.0.8
Published
A command line tool to generator the folder to mvc structure.
Downloads
3
Readme
create-mvc-folder
A command line tool to generator the folder to mvc structure.
Installation
Install globally
npm install -g create-mvc-folder
Install to be a development dependency
npm install --save-dev create-mvc-folder
Usage
mvc folder-name
Generatored folder structure
folder-name/components -- view components folder
folder-name/model -- model folder
folder-name/model/actions.js
folder-name/model/index.js
folder-name/model/initial-state.js
folder-name/controller.js -- controller file
folder-name/view.js -- view can think it is the entry file