yeoman generator for fastock-web
- install global yeoman:
npm install -g yo
-
yo fastock-web:api
: generate crud api function -
yo fastock-web:interface
: generate ts interface for entity and api dto -
yo fastock-web:meta
: combine withfastock-web:api
andfastock-web: interface
-
yo fastock-web:store
: generatemobx store
-
yo fastock-web:view
: generate view
# install dependency
npm install
# link to local bin
npm link
# uninstall
npm unlink
# you need to use this generator under your project workspace
cd /your-workspace-path
# see the command supported
yo fastock-web --help