From 46c6c9a3a740997b3b1f8d7a8bdfc0209f5af6b9 Mon Sep 17 00:00:00 2001 From: juetan Date: Thu, 11 Jan 2024 22:33:19 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0unocss=20include?= =?UTF-8?q?=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index aeaf39d..4d9b523 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -111,7 +111,6 @@ export default defineConfig(({ mode }) => { brand: arcoToUnoColor('primary'), }, }, - include: ['src/**/*.{vue,ts,tsx,css,scss,sass,less,styl}'], presets: [ presetUno(), presetIcons({ @@ -122,6 +121,11 @@ export default defineConfig(({ mode }) => { }, }), ], + content: { + pipeline: { + include: ['src/**/*.{vue,ts,tsx,css,scss,sass,less,styl}'], + }, + }, }), /**