Skip to content

Commit

Permalink
feat: integrate vercel speed insights
Browse files Browse the repository at this point in the history
  • Loading branch information
vagxrth committed Jul 10, 2024
1 parent 1f6a8b3 commit 8298caf
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import { ThemeProvider } from "./provider";
import { SpeedInsights } from '@vercel/speed-insights/next';

const inter = Inter({ subsets: ["latin"] });

Expand All @@ -28,6 +29,7 @@ export default function RootLayout({
disableTransitionOnChange
>
{children}
<SpeedInsights />
</ThemeProvider></body>
</html>
);
Expand Down
36 changes: 36 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@react-three/drei": "^9.105.6",
"@react-three/fiber": "^8.16.6",
"@sentry/nextjs": "^8.8.0",
"@vercel/speed-insights": "^1.0.12",
"clsx": "^2.1.1",
"framer-motion": "^11.2.6",
"mini-svg-data-uri": "^1.4.4",
Expand Down

0 comments on commit 8298caf

Please sign in to comment.