feat: add Vercel Analytics and Speed Insights for performance tracking

This commit is contained in:
2025-09-03 17:19:40 +02:00
parent ae380c8c69
commit e12174772e
3 changed files with 13 additions and 0 deletions

View File

@@ -1,4 +1,7 @@
<script lang="ts" setup>
import { Analytics } from '@vercel/analytics/nuxt'
import { SpeedInsights } from '@vercel/speed-insights/nuxt'
useHead({
link: [{ rel: 'icon', type: 'image/webp', href: '/favicon.webp' }],
})
@@ -11,6 +14,8 @@ useHead({
<UContainer>
<NuxtPage />
</UContainer>
<SpeedInsights />
<Analytics />
</UApp>
</template>