正在显示
6 个修改的文件
包含
29 行增加
和
2 行删除
demo/.umirc.js
0 → 100644
demo/@/utils.js
0 → 100644
@@ -4,12 +4,20 @@ | @@ -4,12 +4,20 @@ | ||
4 | "description": "a demo material of umi", | 4 | "description": "a demo material of umi", |
5 | "main": "src/index.js", | 5 | "main": "src/index.js", |
6 | "scripts": { | 6 | "scripts": { |
7 | - "test": "echo \"Error: no test specified\" && exit 1" | 7 | + "dev": "umi dev" |
8 | }, | 8 | }, |
9 | "repository": { | 9 | "repository": { |
10 | "type": "git", | 10 | "type": "git", |
11 | "url": "https://github.com/umijs/umi-materials/demo" | 11 | "url": "https://github.com/umijs/umi-materials/demo" |
12 | }, | 12 | }, |
13 | + "dependencies": { | ||
14 | + "react": ">=16", | ||
15 | + "antd": "^3.0.0" | ||
16 | + }, | ||
17 | + "devDependencies": { | ||
18 | + "umi": "^2.0.0", | ||
19 | + "umi-plugin-material-dev": "*" | ||
20 | + }, | ||
13 | "author": "yutingzhao1991 <yutingzhao1991@sina.com>", | 21 | "author": "yutingzhao1991 <yutingzhao1991@sina.com>", |
14 | "license": "ISC" | 22 | "license": "ISC" |
15 | } | 23 | } |
demo/src/index.less
0 → 100644
请
注册
或
登录
后发表评论