Skip to content

Commit f95f5a6

Browse files
add vercel analytics
1 parent 1580b1f commit f95f5a6

File tree

3 files changed

+7
-1
lines changed

3 files changed

+7
-1
lines changed

bun.lockb

610 Bytes
Binary file not shown.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
"@tiptap/pm": "^2.11.5",
2626
"@tiptap/react": "^2.11.5",
2727
"@tiptap/starter-kit": "^2.11.5",
28+
"@vercel/analytics": "^1.5.0",
2829
"axios": "^1.8.3",
2930
"class-variance-authority": "^0.7.1",
3031
"clsx": "^2.1.1",

src/app/layout.jsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import { Inter } from 'next/font/google';
22
import './styles/app.css';
33
import { metadata } from './metadata';
4+
import { Analytics } from "@vercel/analytics/react"
45

56
const inter = Inter({ subsets: ['latin'] });
67

@@ -10,7 +11,11 @@ export { metadata };
1011
export default function RootLayout({ children }) {
1112
return (
1213
<html lang="en" className={inter.className}>
13-
<body className="antialiased">{children}</body>
14+
<body className="antialiased">
15+
{children}
16+
17+
<Analytics />
18+
</body>
1419
</html>
1520
)
1621
}

0 commit comments

Comments
 (0)