generator-mechant
v0.0.3
Published
Yeoman generator for MEAN.js
Downloads
7
Readme
generator-mechant
MEAN.js yeoman generator. Méchant is French for mean.
##Usage
###Main generator
Create a new directory for your project mkdir project and cd project. Then run yo mechant. Yeoman will ask you for a project name, which currently does nothing, i.e. the whole project is still called mean. It will install the MEANjs.org scaffold.
##Subgenerators
###Server-side
####view
Calling mechant:view name will create /app/views/name.html.
####controller
Calling mechant:controller name will create /app/controllers/names.js. By default the controller has a method exports.html.
####route
Calling mechant:route name will create
/app/controllers/names.js/app/routes/names.js/app/views/name.html
####model
Calling mechant:model name will create
/app/controllers/names.js/app/routes/names.js/app/views/name.html/app/models/name.js
###Client-side Work in progress.
####ng-module
License
MIT
