chore: add vercel analytics

This commit is contained in:
2026-05-22 11:09:14 +08:00
parent 7e4ee3d699
commit 599c8107d1
3 changed files with 65 additions and 428 deletions
+2
View File
@@ -1,6 +1,7 @@
<script setup lang="ts">
import { NConfigProvider, NDialogProvider, NGlobalStyle, NMessageProvider, NNotificationProvider, type GlobalThemeOverrides } from 'naive-ui'
import AppHeader from '@/components/layout/AppHeader.vue'
import { Analytics } from "@vercel/analytics/vue"
const themeOverrides: GlobalThemeOverrides = {
common: {
@@ -87,4 +88,5 @@ const themeOverrides: GlobalThemeOverrides = {
</NNotificationProvider>
</NDialogProvider>
</NConfigProvider>
<Analytics />
</template>