0.0.1-beta.0 • Published 7 years ago
oak-weui v0.0.1-beta.0
OAKUI
A Wechat App UI Lib.
Development
get start
$ git clone git@github.com:yh-yunchuang-fe/oak.git
$ cd oak
$ npm install
$ npm start$ git clone git@github.com:yh-yunchuang-fe/oak.git
$ cd oak
$ npm install
$ npm start
// docs start
$ npm run docs:devbuild
// component build
$ npm run build
// docs build & publish
$ npm run docs new
-d 指定创建目录,以src/为根目录
$ npm run new -- --p {page} --d pags/ // 创建页面
$ npm run new -- --c {component} --d components/cms // 创建组件批量创建页面(组件),-c, -p 后传入多个页面(组件)以 , 区分
$ npm run new -- --c channel,channel-item --d components/cmsTODO
License
MIT © YongHui
0.0.1-beta.0
7 years ago