This commit is contained in:
hxr 2023-09-14 23:54:10 +08:00
commit 1705289466
1 changed files with 3 additions and 1 deletions

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: {