Skip to content

Commit 732f853

Browse files
feat(frontend): added vercel speed insights
1 parent 552ea43 commit 732f853

File tree

3 files changed

+38
-0
lines changed

3 files changed

+38
-0
lines changed

apps/frontend/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"@o2s/ui": "*",
2323
"@prisma/client": "^6.3.1",
2424
"@vercel/analytics": "^1.5.0",
25+
"@vercel/speed-insights": "^1.2.0",
2526
"bcryptjs": "^2.4.3",
2627
"class-variance-authority": "^0.7.1",
2728
"dotenv-cli": "^8.0.0",

apps/frontend/src/app/[locale]/layout.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Analytics } from '@vercel/analytics/react';
2+
import { SpeedInsights } from '@vercel/speed-insights/react';
23
import { SessionProvider } from 'next-auth/react';
34
import { setRequestLocale } from 'next-intl/server';
45
import { Inter } from 'next/font/google';
@@ -68,6 +69,7 @@ export default async function RootLayout({ children, params }: Props) {
6869
</SessionProvider>
6970

7071
<Analytics />
72+
<SpeedInsights />
7173
</body>
7274
</html>
7375
);

package-lock.json

Lines changed: 35 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)