fix: 🐛 低版本内核Chrome浏览器,打开浏览器显示空白问题修复

Former-commit-id: c89909234ebee431f7577918a125e34652bb0152
This commit is contained in:
郝先瑞
2023-09-13 18:32:43 +08:00
parent 42478b520a
commit dc581194ed

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