Skip to content

Commit

Permalink
Merge pull request #2 from ari-party/patch-1
Browse files Browse the repository at this point in the history
Vercel speed insights
  • Loading branch information
ari-party committed Feb 17, 2024
2 parents 1ecab50 + 3ee8766 commit 77610e2
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@mui/joy": "5.0.0-beta.22",
"@mui/material": "^5.15.9",
"@vercel/analytics": "^1.1.2",
"@vercel/speed-insights": "^1.0.10",
"immer": "^10.0.3",
"merge-sx": "^2.0.0",
"next": "14.0.4",
Expand Down
31 changes: 31 additions & 0 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions src/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { Analytics } from '@vercel/analytics/react';
import { SpeedInsights } from '@vercel/speed-insights/next';
import React from 'react';

import type { AppProps } from 'next/app';
Expand All @@ -8,6 +9,7 @@ function App({ Component, pageProps }: AppProps) {
<>
<Component {...pageProps} />
<Analytics />
<SpeedInsights />
</>
);
}
Expand Down

0 comments on commit 77610e2

Please sign in to comment.