generateMock.js 182 B

1234
  1. const generateMock = require('merge-umi-mock-data');
  2. const path = require('path');
  3. generateMock(path.join(__dirname, '../mock'), path.join(__dirname, '../functions/mock/index.js'));