chore: add test server

This commit is contained in:
Vben
2021-03-19 22:53:12 +08:00
parent 23568b31fd
commit f866e46535
16 changed files with 1713 additions and 1594 deletions

View File

@@ -8,7 +8,6 @@ export function configMockPlugin(isBuild: boolean) {
return viteMockServe({
ignore: /^\_/,
mockPath: 'mock',
showTime: true,
localEnabled: !isBuild,
prodEnabled: isBuild,
injectCode: `