nova-admin/mock/index.ts
2022-08-07 22:46:13 +08:00

7 lines
177 B
TypeScript

import { createProdMockServer } from 'vite-plugin-mock/es/createProdMockServer';
import api from './module';
export function setupMockServer() {
createProdMockServer(api);
}