Skip to content

Commit 6eaafc3

Browse files
committed
docs: enable vercel speed insights
1 parent 1b5d741 commit 6eaafc3

File tree

3 files changed

+35
-0
lines changed

3 files changed

+35
-0
lines changed

docs/app/app.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
import { withoutTrailingSlash } from 'ufo'
33
import colors from 'tailwindcss/colors'
44
import { Analytics } from '@vercel/analytics/nuxt'
5+
import { SpeedInsights } from '@vercel/speed-insights/nuxt'
56
67
const route = useRoute()
78
const appConfig = useAppConfig()
@@ -53,6 +54,7 @@ provide('navigation', mappedNavigation)
5354
<UApp :toaster="appConfig.toaster">
5455
<NuxtLoadingIndicator color="var(--ui-primary)" :height="2" />
5556
<Analytics />
57+
<SpeedInsights />
5658

5759
<div :class="[route.path.startsWith('/docs/') && 'root']">
5860
<template v-if="!route.path.startsWith('/examples')">

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"@nuxtjs/plausible": "^2.0.0",
2222
"@octokit/rest": "^22.0.0",
2323
"@vercel/analytics": "^1.5.0",
24+
"@vercel/speed-insights": "^1.2.0",
2425
"@vueuse/integrations": "^13.8.0",
2526
"@vueuse/nuxt": "^13.8.0",
2627
"ai": "^5.0.29",

pnpm-lock.yaml

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)