正在显示
4 个修改的文件
包含
10 行增加
和
0 行删除
@@ -54,6 +54,7 @@ function parseJSON(root) { | @@ -54,6 +54,7 @@ function parseJSON(root) { | ||
54 | img, | 54 | img, |
55 | previewUrl: '', | 55 | previewUrl: '', |
56 | features, | 56 | features, |
57 | + ...(pkg.block && pkg.block.category ? { category: pkg.block.category } : {}), | ||
57 | }); | 58 | }); |
58 | return memo; | 59 | return memo; |
59 | }, []); | 60 | }, []); |
@@ -3,5 +3,8 @@ | @@ -3,5 +3,8 @@ | ||
3 | "description": "Blank block for quick start a umi page develop, with mock, dva, service and antd.", | 3 | "description": "Blank block for quick start a umi page develop, with mock, dva, service and antd.", |
4 | "dependencies": { | 4 | "dependencies": { |
5 | "umi-request": "^1.0.0" | 5 | "umi-request": "^1.0.0" |
6 | + }, | ||
7 | + "block": { | ||
8 | + "category": "脚手架" | ||
6 | } | 9 | } |
7 | } | 10 | } |
请
注册
或
登录
后发表评论