feat: 更新 Layouts 配置,添加 pagesDirs 选项以指定页面目录
All checks were successful
/ build-and-deploy-to-vercel (push) Successful in 1m10s
/ playwright (push) Successful in 2m1s
/ depcheck (push) Successful in 1m6s

This commit is contained in:
严浩
2024-12-25 00:35:16 +08:00
parent cce5d94017
commit 1b62a08c4d

View File

@ -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