Skip to content

Commit 3a9afa9

Browse files
added speed insights
1 parent 467511c commit 3a9afa9

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ import type { Metadata } from 'next'
55
import { GeistSans } from 'geist/font/sans'
66
import { GeistMono } from 'geist/font/mono'
77
import { Analytics } from "@vercel/analytics/next"
8+
import { SpeedInsights } from "@vercel/speed-insights/next"
89

910
export const metadata: Metadata = {
1011
metadataBase: new URL('https://codingit.vercel.app'),
@@ -62,6 +63,7 @@ export default function RootLayout({
6263
/>
6364
</head>
6465
<body>
66+
<SpeedInsights />
6567
<Analytics />
6668
<ThemeProvider
6769
attribute="class"

package-lock.json

Lines changed: 36 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@
4343
"@upstash/ratelimit": "^2.0.1",
4444
"@vercel/analytics": "^1.5.0",
4545
"@vercel/kv": "^2.0.0",
46+
"@vercel/speed-insights": "^1.2.0",
4647
"@xenova/transformers": "^2.17.2",
4748
"ai": "latest",
4849
"class-variance-authority": "^0.7.1",

0 commit comments

Comments
 (0)