Skip to content

Commit faf4796

Browse files
committed
feat: add @vercel/speed-insights dependency and integrate SpeedInsights component
- Added @vercel/speed-insights version 1.3.1 to dependencies in package.json. - Updated pnpm-lock.yaml to include the new dependency and its resolution details. - Integrated SpeedInsights component into the RootLayout for performance insights.
1 parent 6b1ea8f commit faf4796

File tree

3 files changed

+34
-0
lines changed

3 files changed

+34
-0
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
"check": "biome check --write --unsafe"
1212
},
1313
"dependencies": {
14+
"@vercel/speed-insights": "1.3.1",
1415
"clsx": "2.1.1",
1516
"lucide-react": "0.575.0",
1617
"next": "16.1.6",

pnpm-lock.yaml

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

src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import type { Metadata } from "next";
2+
import { SpeedInsights } from "@vercel/speed-insights/next"
23
import "./globals.css";
34
import "./fonts.css";
45

@@ -16,6 +17,7 @@ export default function RootLayout({
1617
return (
1718
<html lang="en" suppressHydrationWarning>
1819
<body className="antialiased">{children}</body>
20+
<SpeedInsights />
1921
</html>
2022
);
2123
}

0 commit comments

Comments
 (0)