Skip to content

Commit

Permalink
chore: Vercel 퍼포먼스 모니터링(스피드 인사이트) 세팅
Browse files Browse the repository at this point in the history
  • Loading branch information
deipanema committed Oct 14, 2024
1 parent a7a5f04 commit f16dd83
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
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 @@
"dependencies": {
"@hookform/resolvers": "^3.9.0",
"@tanstack/react-query": "^5.59.9",
"@vercel/speed-insights": "^1.0.12",
"animejs": "^3.2.2",
"axios": "^1.7.7",
"framer-motion": "^11.11.0",
Expand Down
2 changes: 2 additions & 0 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { SpeedInsights } from "@vercel/speed-insights/next";
import { ReactNode } from "react";
import type { Metadata } from "next";
import localFont from "next/font/local";
Expand Down Expand Up @@ -29,6 +30,7 @@ export default function RootLayout({
<html lang="ko">
<body className={`${pretendard.variable} font-pretendard`}>
<Provider>
<SpeedInsights />
<ToastProvider />
{children}
</Provider>
Expand Down

0 comments on commit f16dd83

Please sign in to comment.