Skip to content

Commit ed9e36f

Browse files
committed
chore: add vercel analytics
1 parent 85cb1a6 commit ed9e36f

File tree

3 files changed

+31
-1
lines changed

3 files changed

+31
-1
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
},
1111
"dependencies": {
1212
"@radix-ui/react-slot": "^1.0.2",
13+
"@vercel/analytics": "^1.2.2",
1314
"class-variance-authority": "^0.7.0",
1415
"clsx": "^2.1.0",
1516
"lucide-react": "^0.358.0",

pages/_app.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
import "@/styles/globals.css";
22
import type { AppProps } from "next/app";
3+
import { Analytics } from "@vercel/analytics/react";
34

45
export default function App({ Component, pageProps }: AppProps) {
5-
return <Component {...pageProps} />;
6+
return (
7+
<>
8+
<Component {...pageProps} />
9+
<Analytics />
10+
</>
11+
);
612
}

pnpm-lock.yaml

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