From 1b62a08c4d7779de46ca45cbdd947ce48b5f6598 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=A5=E6=B5=A9?= <37316281+yanhao98@users.noreply.github.com> Date: Wed, 25 Dec 2024 00:35:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0=20Layouts=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E6=B7=BB=E5=8A=A0=20pagesDirs=20?= =?UTF-8?q?=E9=80=89=E9=A1=B9=E4=BB=A5=E6=8C=87=E5=AE=9A=E9=A1=B5=E9=9D=A2?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.plugins.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/vite.config.plugins.ts b/vite.config.plugins.ts index c8291a6..7f26209 100644 --- a/vite.config.plugins.ts +++ b/vite.config.plugins.ts @@ -51,6 +51,7 @@ export function Plugins() { // https://github.com/JohnCampionJr/vite-plugin-vue-layouts?tab=readme-ov-file#configuration Layouts({ defaultLayout: 'default-layout', + pagesDirs: ['src/pages'], }), // https://github.com/antfu/unocss