2023-06-15 23:29:13 +08:00

8 lines
216 B
TypeScript

import { viteMockServe } from 'vite-plugin-mock' // https://github.com/vbenjs/vite-plugin-mock/blob/main/README.zh_CN.md
export default viteMockServe({
mockPath: 'mock',
enable: true,
// watchFiles: false,
})