spring-cloud/admin-web/scripts/generateMock.js

4 lines
182 B
Java
Raw Normal View History

2019-02-27 03:06:55 +00:00
const generateMock = require('merge-umi-mock-data');
const path = require('path');
generateMock(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js'));