Skip to content
The generator generate this project which is built by angularJS and requireJS
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
controller
module
service
store
view
.gitignore
LICENSE
README.md
package.json

README.md

generator-hawkapp

The generator generate this project which is built by angularJS and requireJS.

Usage

npm install yo -g
npm install generator-hawkapp -g
Tree
 -bower_componnets
 -dist
 -modules
  -core
  -static
   -css
   -less
  -module
   -router
   -controllers
   -services
   -stores
   -less
   -views
  -test
Generate Project
$ yo hawkapp
? Your project name (myProject) default is current folder name.
? Your name (yeoman) 
Generate Module
$ yo hawkapp:module
? Your module name (myModule) 
? Your name (yeoman) 
Generate Controller
$ yo hawkapp:controller moduleName controllerName author
Generate Store
$ yo hawkapp:store moduleName storeName author
Generate Service
$ yo hawkapp:service moduleName serviceName author
Generate Template
$ yo hawkapp:view moduleName tplName
You can’t perform that action at this time.