mirror of
https://github.com/chansee97/nova-admin.git
synced 2025-04-05 19:41:59 +08:00
7 lines
256 B
TypeScript
7 lines
256 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',
|
|
injectCode: 'import { setupMockServer } from \'../mock\';setupMockServer();',
|
|
})
|