summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/README.md
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-08-29 18:43:08 +0800
committerxu ran <xuranyjy@chinamobile.com>2019-08-30 02:20:49 +0000
commit0c1e82ccbfa6dcb8ee5d11220a93fefc61465374 (patch)
treedbd894bc5909df38bde9a2738e366d7913627195 /usecaseui-portal/README.md
parentcbb4b91ad39b44a76d1b1d4b745ef2b38fab74ce (diff)
feat: change the mock data path config file
Change-Id: I5ca301d8ff0b084f64366312543c9036d8e76de8 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/README.md')
-rw-r--r--usecaseui-portal/README.md10
1 files changed, 9 insertions, 1 deletions
diff --git a/usecaseui-portal/README.md b/usecaseui-portal/README.md
index 29e92ed4..2fbea7a1 100644
--- a/usecaseui-portal/README.md
+++ b/usecaseui-portal/README.md
@@ -88,7 +88,11 @@ npm run changelog
└── README.md
```
-### [Change log](./CHANGELOG.md)
+
+### Mock data
+
+This project allows developers to develop in mock data with `npm run mock`, which means FEers can develop independently in the beginning of the project developing period. Developers can set mock data in `mock/fake/mock.js`, where supports two methods of creating mock data. The remote method relies on [faker.js](https://github.com/marak/Faker.js/).
+
### Git commit message rules
@@ -139,6 +143,10 @@ When there is breaking changes in the project, please write the commit message i
```
Also, run the script `npm run changelog` can generate all the `feat` and `fix` commits. Click [CHANGELOG.md](./CHANGELOG.md) shows all these commit histories.
+
+### [Change log](./CHANGELOG.md)
+
+
### Contributor
```