File tree 2 files changed +13
-4
lines changed
2 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ yarn global add @lotus-ui/tools
48
48
lotus-tools create -n button
49
49
50
50
// 开发
51
- lotus-tools run start
51
+ lotus-tools build --watch
52
52
53
53
// 执行编译
54
- lotus-tools run build
54
+ lotus-tools build
55
55
```
56
56
57
57
## 📝 配置
@@ -69,11 +69,20 @@ lotus-tools run build
69
69
* 默认: ` components `
70
70
* 描述: 组件存放目录
71
71
72
+ ### createComponent
73
+
74
+ * 类型: ` object `
75
+ * 默认: ` { locale: true } `
76
+ * 描述: 创建组件配置
77
+
72
78
** Example**
73
79
74
80
```
75
81
// lotus-tools.config.ts
76
82
export default {
77
- libraryDir: 'examples/components'
83
+ libraryDir: 'examples/components',
84
+ createComponent: {
85
+ locale: false
86
+ }
78
87
}
79
88
```
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " @lotus-ui/tools" ,
3
- "version" : " 0.2.1 " ,
3
+ "version" : " 0.2.2 " ,
4
4
"description" : " 组件库打包工具" ,
5
5
"main" : " index.js" ,
6
6
"repository" : " https://github.com/lotus-ui/lotus-tools" ,
You can’t perform that action at this time.
0 commit comments