From 02a28d095ba182f3ca4a3f33a1ac7b554a206976 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8F=B2=E9=B8=BD?= <1020103647@qq.com> Date: Wed, 6 Mar 2024 09:11:59 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20unocss=20=E4=B8=8E=20=E7=AC=AC=E4=B8=89?= =?UTF-8?q?=E6=96=B9=E6=A1=86=E6=9E=B6=E6=A0=B7=E5=BC=8F=E5=86=B2=E7=AA=81?= =?UTF-8?q?=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/index/about.vue | 1 + uno.config.ts | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/pages/index/about.vue b/src/pages/index/about.vue index 3d818a6..181a3de 100644 --- a/src/pages/index/about.vue +++ b/src/pages/index/about.vue @@ -16,6 +16,7 @@ 鸽友们好,我是 菲鸽 + diff --git a/uno.config.ts b/uno.config.ts index 5ba5250..f733f74 100644 --- a/uno.config.ts +++ b/uno.config.ts @@ -55,7 +55,11 @@ export default defineConfig({ // 支持css class组合,eg: `
测试 unocss
` transformerVariantGroup(), // Don't change the following order - transformerAttributify(), + transformerAttributify({ + // 解决与第三方框架样式冲突问题 + prefixedOnly: true, + prefix: 'fg', + }), transformerApplet(), ], rules: [