feat: 优化菜单项,添加路由名称和标题支持,更新首页元信息
All checks were successful
/ playwright (push) Successful in 1m21s
/ build-and-deploy-to-vercel (push) Successful in 1m24s
/ depcheck (push) Successful in 1m2s

This commit is contained in:
严浩
2025-01-08 17:41:36 +08:00
parent 943eac62df
commit 83117bbf4b
3 changed files with 11 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<script setup lang="tsx">
const VITE_BUILD_COMMIT = import.meta.env.VITE_BUILD_COMMIT;
import { routes } from 'vue-router/auto-routes';
definePage({ meta: { title: '首页' } });
useHead({
// Titles
title: 'Hello World',