mirror of
https://github.com/ArthurDanjou/artchat.git
synced 2026-01-14 13:54:01 +01:00
feat: add Vercel Analytics and Speed Insights for performance tracking
This commit is contained in:
@@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user