Skip to content

Commit a8fe655

Browse files
committed
add vercel speed insights to docs
1 parent f27d6cc commit a8fe655

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/app/app.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<script setup lang="ts">
22
import type { ContentNavigationItem, PageCollections } from '@nuxt/content'
33
import { Analytics } from '@vercel/analytics/nuxt'
4+
import { SpeedInsights } from '@vercel/speed-insights/nuxt'
45
56
const { locale, isEnabled } = useDocusI18n()
67
const collectionName = computed(() => isEnabled.value ? `docs_${locale.value}` : 'docs')
@@ -31,4 +32,5 @@ provide('navigation', navigation)
3132
</ClientOnly>
3233

3334
<Analytics />
35+
<SpeedInsights />
3436
</template>

0 commit comments

Comments
 (0)