|
@@ -0,0 +1,57 @@
|
|
1
|
+# Ant Design Pro
|
|
2
|
+
|
|
3
|
+This project is initialized with [Ant Design Pro](https://pro.ant.design). Follow is the quick guide for how to use.
|
|
4
|
+
|
|
5
|
+## Environment Prepare
|
|
6
|
+
|
|
7
|
+Install `node_modules`:
|
|
8
|
+
|
|
9
|
+```bash
|
|
10
|
+npm install
|
|
11
|
+```
|
|
12
|
+
|
|
13
|
+or
|
|
14
|
+
|
|
15
|
+```bash
|
|
16
|
+yarn
|
|
17
|
+```
|
|
18
|
+
|
|
19
|
+## Provided Scripts
|
|
20
|
+
|
|
21
|
+Ant Design Pro provides some useful script to help you quick start and build with web project, code style check and test.
|
|
22
|
+
|
|
23
|
+Scripts provided in `package.json`. It's safe to modify or add additional script:
|
|
24
|
+
|
|
25
|
+### Start project
|
|
26
|
+
|
|
27
|
+```bash
|
|
28
|
+npm start
|
|
29
|
+```
|
|
30
|
+
|
|
31
|
+### Build project
|
|
32
|
+
|
|
33
|
+```bash
|
|
34
|
+npm run build
|
|
35
|
+```
|
|
36
|
+
|
|
37
|
+### Check code style
|
|
38
|
+
|
|
39
|
+```bash
|
|
40
|
+npm run lint
|
|
41
|
+```
|
|
42
|
+
|
|
43
|
+You can also use script to auto fix some lint error:
|
|
44
|
+
|
|
45
|
+```bash
|
|
46
|
+npm run lint:fix
|
|
47
|
+```
|
|
48
|
+
|
|
49
|
+### Test code
|
|
50
|
+
|
|
51
|
+```bash
|
|
52
|
+npm test
|
|
53
|
+```
|
|
54
|
+
|
|
55
|
+## More
|
|
56
|
+
|
|
57
|
+You can view full document on our [official website](https://pro.ant.design). And welcome any feedback in our [github](https://github.com/ant-design/ant-design-pro).
|