Skip to content

Commit cf56cb4

Browse files
committed
feat/analytics: add vercel's speed analytics feature
1 parent a71c439 commit cf56cb4

File tree

3 files changed

+39
-0
lines changed

3 files changed

+39
-0
lines changed

apps/web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"@radix-ui/react-radio-group": "^1.2.1",
2121
"@radix-ui/react-slot": "^1.1.0",
2222
"@vercel/analytics": "^1.4.1",
23+
"@vercel/speed-insights": "^1.1.0",
2324
"class-variance-authority": "^0.7.0",
2425
"clsx": "^2.1.1",
2526
"framer-motion": "^11.11.13",

apps/web/src/app/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ import localFont from "next/font/local";
33
import "./globals.css";
44
import { ThemeProvider } from "./theme-provider";
55
import { Analytics } from "@vercel/analytics/react";
6+
import { SpeedInsights } from "@vercel/speed-insights/next";
67

78
const geistSans = localFont({
89
src: "./fonts/GeistVF.woff",
@@ -39,6 +40,7 @@ export default function RootLayout({
3940
{children}
4041
</ThemeProvider>
4142
<Analytics />
43+
<SpeedInsights />
4244
</body>
4345
</html>
4446
);

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.

0 commit comments

Comments
 (0)