Skip to content

Commit

Permalink
docs: update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
wangxingkang committed Sep 10, 2019
1 parent e43091a commit a4d7946
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ yarn global add @lotus-ui/tools
lotus-tools create -n button
// 开发
lotus-tools run start
lotus-tools build --watch
// 执行编译
lotus-tools run build
lotus-tools build
```

## 📝 配置
Expand All @@ -69,11 +69,20 @@ lotus-tools run build
* 默认: `components`
* 描述: 组件存放目录

### createComponent

* 类型: `object`
* 默认: `{ locale: true }`
* 描述: 创建组件配置

**Example**

```
// lotus-tools.config.ts
export default {
libraryDir: 'examples/components'
libraryDir: 'examples/components',
createComponent: {
locale: false
}
}
```
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@lotus-ui/tools",
"version": "0.2.1",
"version": "0.2.2",
"description": "组件库打包工具",
"main": "index.js",
"repository": "https://github.com/lotus-ui/lotus-tools",
Expand Down

0 comments on commit a4d7946

Please sign in to comment.