Skip to content

Commit 42be5db

Browse files
committed
add vercel analytics
1 parent c696932 commit 42be5db

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

docs/app/app.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<script setup lang="ts">
22
import type { ContentNavigationItem, PageCollections } from '@nuxt/content'
3+
import { Analytics } from '@vercel/analytics/nuxt'
34
45
const { locale, isEnabled } = useDocusI18n()
56
const collectionName = computed(() => isEnabled.value ? `docs_${locale.value}` : 'docs')
@@ -28,4 +29,6 @@ provide('navigation', navigation)
2829
<ClientOnly>
2930
<LazyUContentSearch :files="files" :navigation="navigation" />
3031
</ClientOnly>
32+
33+
<Analytics />
3134
</template>

0 commit comments

Comments
 (0)