From c6549f855b3ffeb6fd1d8e319e90c1c4aea2edef Mon Sep 17 00:00:00 2001 From: Niklas Fischer Date: Sat, 30 Nov 2024 22:50:11 +0100 Subject: [PATCH] add speed insights --- package.json | 1 + src/app/layout.tsx | 2 ++ yarn.lock | 5 +++++ 3 files changed, 8 insertions(+) diff --git a/package.json b/package.json index 60b02aa..25a54c4 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "@types/react": "18.3.12", "@types/react-dom": "18.3.1", "@vercel/analytics": "^1.4.1", + "@vercel/speed-insights": "^1.1.0", "cypress-real-events": "^1.13.0", "eslint": "9.16.0", "eslint-config-next": "15.0.3", diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 48835a3..ed8268e 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,4 +1,5 @@ import { Analytics } from "@vercel/analytics/react"; +import { SpeedInsights } from "@vercel/speed-insights/next"; import { Navbar } from "@/components/navbar"; import { Footer } from "@/components/footer"; @@ -30,6 +31,7 @@ export default function RootLayout({ children }: { children: React.ReactNode })