A yeoman generator which help you create Zorro component easily.
npm install -g yo
npm install -g generator-zorro
mkdir z-foo
yo zorro
and confirm your component name (z-foo
)- That's it!
npm install -g bower
npm install
bower install
- modify
package.json
just like author, lisence ... - write bower deps on other components (if has)
- write
z-foo.html
(both doc comment, sample comment and code) - write test case in
test
folder - run
gulp
to lint and buildREADME.md
automatically
- generate semver tag
- push into your own repo
- create an issue here to tell us