diff --git a/bun.lockb b/bun.lockb index 4736342..ee2eab2 100755 Binary files a/bun.lockb and b/bun.lockb differ diff --git a/package.json b/package.json index bd926c0..90a43ee 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,7 @@ "@mui/material-nextjs": "^6.3.1", "@mui/x-charts": "^7.23.2", "@tailwindcss/typography": "^0.5.15", + "@vercel/speed-insights": "^1.1.0", "animate.css": "^4.1.1", "axios": "^1.7.9", "axios-case-converter": "^1.1.1", @@ -44,5 +45,8 @@ "eslint": "^9", "eslint-config-next": "15.1.3", "@eslint/eslintrc": "^3" - } + }, + "trustedDependencies": [ + "@vercel/speed-insights" + ] } diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index ea9f190..ac18081 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -4,6 +4,7 @@ import { DocumentHeadTagsProps, documentGetInitialProps, } from '@mui/material-nextjs/v15-pagesRouter' +import { SpeedInsights } from '@vercel/speed-insights/next' import { Html, Head, Main, NextScript, DocumentContext, DocumentProps } from 'next/document' export default function Document(props: DocumentProps & DocumentHeadTagsProps) { @@ -16,6 +17,7 @@ export default function Document(props: DocumentProps & DocumentHeadTagsProps) {