oak-weui

0.0.1-beta.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i oak-weui

Weekly Downloads

1

Version

0.0.1-beta.0

License

MIT

Unpacked Size

35.5 kB

Total Files

33

Last publish

Collaborators

  • maelweb