Skip to content

Commit a4d7946

Browse files
author
wangxingkang
committed
docs: update README.md
1 parent e43091a commit a4d7946

File tree

2 files changed

+13
-4
lines changed

2 files changed

+13
-4
lines changed

README.md

+12-3
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ yarn global add @lotus-ui/tools
4848
lotus-tools create -n button
4949
5050
// 开发
51-
lotus-tools run start
51+
lotus-tools build --watch
5252
5353
// 执行编译
54-
lotus-tools run build
54+
lotus-tools build
5555
```
5656

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

72+
### createComponent
73+
74+
* 类型: `object`
75+
* 默认: `{ locale: true }`
76+
* 描述: 创建组件配置
77+
7278
**Example**
7379

7480
```
7581
// lotus-tools.config.ts
7682
export default {
77-
libraryDir: 'examples/components'
83+
libraryDir: 'examples/components',
84+
createComponent: {
85+
locale: false
86+
}
7887
}
7988
```

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@lotus-ui/tools",
3-
"version": "0.2.1",
3+
"version": "0.2.2",
44
"description": "组件库打包工具",
55
"main": "index.js",
66
"repository": "https://github.com/lotus-ui/lotus-tools",

0 commit comments

Comments
 (0)