Skip to content

Commit 0a0598a

Browse files
committed
docs: enable vercel analytics
1 parent 8fcb0f9 commit 0a0598a

File tree

3 files changed

+37
-0
lines changed

3 files changed

+37
-0
lines changed

docs/app.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<template>
33
<div>
44
<NuxtLoadingIndicator />
5+
<Analytics />
56

67
<!-- <Banner v-if="!$route.path.startsWith('/examples')" /> -->
78

@@ -31,6 +32,7 @@
3132
import { withoutTrailingSlash } from 'ufo'
3233
import { debounce } from 'perfect-debounce'
3334
import type { ParsedContent } from '@nuxt/content'
35+
import { Analytics } from '@vercel/analytics/nuxt'
3436
3537
const searchRef = ref()
3638

docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"@nuxt/ui-pro": "^1.8.2",
1515
"@nuxtjs/plausible": "^2.0.0",
1616
"@octokit/rest": "^21.1.1",
17+
"@vercel/analytics": "^1.5.0",
1718
"@vueuse/nuxt": "^13.8.0",
1819
"date-fns": "^4.1.0",
1920
"joi": "^18.0.1",

pnpm-lock.yaml

Lines changed: 34 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)