Skip to content

Commit 9411260

Browse files
committed
feat(docs): add analytics
1 parent 3e157a7 commit 9411260

File tree

3 files changed

+26
-1
lines changed

3 files changed

+26
-1
lines changed

apps/docs/astro.config.mjs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ import { defineConfig } from 'astro/config';
66

77
// https://astro.build/config
88
export default defineConfig({
9-
adapters: [vercel()],
9+
adapters: [
10+
vercel({
11+
webAnalytics: { enabled: true },
12+
}),
13+
],
1014
build: {
1115
redirects: false,
1216
},

apps/docs/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
"@rnr/reusables": "workspace:*",
2424
"@types/react": "~19.0.14",
2525
"@types/react-dom": "^19.1.3",
26+
"@vercel/analytics": "^1.3.2",
2627
"astro": "^4.4.9",
2728
"class-variance-authority": "^0.7.0",
2829
"clsx": "^2.1.0",

pnpm-lock.yaml

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