Archived
feat: 更新 Layouts 配置,添加 pagesDirs 选项以指定页面目录
This commit is contained in:
1 parent
cce5d94017
commit
1b62a08c4d
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user