Former-commit-id: 1705289466dbb587686683c09122c9f647999c11
This commit is contained in:
hxr
2023-09-14 23:54:10 +08:00

View File

@@ -58,7 +58,9 @@ export default defineConfig(({ mode }: ConfigEnv): UserConfig => {
}, },
plugins: [ plugins: [
vue(), vue(),
UnoCSS({}), UnoCSS({
hmrTopLevelAwait: false,
}),
AutoImport({ AutoImport({
imports: ["vue", "@vueuse/core"], // 自动导入 Vue 相关函数ref, reactive, toRef 等 imports: ["vue", "@vueuse/core"], // 自动导入 Vue 相关函数ref, reactive, toRef 等
eslintrc: { eslintrc: {