_createProductionServer.ts 311 B

12345678
  1. import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer';
  2. import userMock from './sys/user';
  3. import menuMock from './sys/menu';
  4. import tableDemoMock from './demo/table-demo';
  5. export function setupProdMockServer() {
  6. createProdMockServer([...userMock, ...menuMock, ...tableDemoMock]);
  7. }