From 0c1e82ccbfa6dcb8ee5d11220a93fefc61465374 Mon Sep 17 00:00:00 2001 From: cyuamber Date: Thu, 29 Aug 2019 18:43:08 +0800 Subject: feat: change the mock data path config file Change-Id: I5ca301d8ff0b084f64366312543c9036d8e76de8 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber --- usecaseui-portal/README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'usecaseui-portal/README.md') 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 ``` -- cgit 1.2.3-korg