0.0.1-beta.0 • Published 5 years ago

oak-weui v0.0.1-beta.0

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

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:dev

build

// 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/cms

TODO

License

MIT © YongHui