chore: 🔨 默认关闭 Mock 配置

This commit is contained in:
hxr 2024-01-11 00:10:52 +08:00
parent 9f9104574a
commit 2990b563dc
1 changed files with 2 additions and 2 deletions

View File

@ -62,12 +62,12 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
},
plugins: [
vue(),
// MOCK 服务,开启 MOCK 放开注释即可
// mockDevServerPlugin(),
vueJsx(),
UnoCSS({
hmrTopLevelAwait: false,
}),
// MOCK 服务
mockDevServerPlugin(),
// 自动导入参考: https://github.com/sxzz/element-plus-best-practices/blob/main/vite.config.ts
AutoImport({
// 自动导入 Vue 相关函数ref, reactive, toRef 等