feat: 添加默认布局和第二布局,更新路由配置以支持新布局
Some checks failed
/ depcheck (push) Waiting to run
/ playwright (push) Has been cancelled
/ build-and-deploy-to-vercel (push) Has been cancelled

This commit is contained in:
严浩
2024-12-25 00:33:35 +08:00
parent bfbeb326bc
commit cce5d94017
6 changed files with 51 additions and 11 deletions

View File

@ -48,8 +48,10 @@ export function Plugins() {
},
}), // https://vue-macros.dev/zh-CN/guide/bundler-integration.html
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts
Layouts(),
// https://github.com/JohnCampionJr/vite-plugin-vue-layouts?tab=readme-ov-file#configuration
Layouts({
defaultLayout: 'default-layout',
}),
// https://github.com/antfu/unocss
// see uno.config.ts for config