Skip to content

Commit 4b3966b

Browse files
committed
doc(build-plugin-lowcode): 优化 README
1 parent ff69c0b commit 4b3966b

2 files changed

Lines changed: 17 additions & 1 deletion

File tree

packages/build-plugin-lowcode/README.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@ export interface SetterMap {
1717
[SetterName: string]: string;
1818
}
1919

20+
export type Assets = {
21+
package: string;
22+
version: string;
23+
urls: string[];
24+
library: string;
25+
};
26+
// 示例
27+
// {
28+
// package: 'antd',
29+
// version: '4.17.3',
30+
// urls: [
31+
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.js',
32+
// 'https://g.alicdn.com/code/lib/antd/4.17.3/antd.min.css',
33+
// ],
34+
// library: 'antd',
35+
// }
2036
```
2137
## 开发调试
2238
### 组件开发

packages/build-plugin-lowcode/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alifd/build-plugin-lowcode",
3-
"version": "0.4.5",
3+
"version": "0.4.6",
44
"description": "build plugin for component-to-lowcode",
55
"main": "src/index.js",
66
"keywords": [

0 commit comments

Comments
 (0)