nova-admin/mock/index.ts
2023-03-27 18:01:46 +08:00

7 lines
174 B
TypeScript

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