Skip to content

Commit

Permalink
feat(docs): add @vercel/speed-insights (#318)
Browse files Browse the repository at this point in the history
  • Loading branch information
QuiiBz authored Dec 23, 2023
1 parent c697a30 commit 94c6d9c
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
},
"dependencies": {
"@vercel/analytics": "^1.1.1",
"@vercel/speed-insights": "^1.0.2",
"next": "^14.0.4",
"nextra": "^2.13.2",
"nextra-theme-docs": "^2.13.2",
Expand Down
2 changes: 2 additions & 0 deletions docs/pages/_app.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { Analytics } from '@vercel/analytics/react';
import { SpeedInsights } from '@vercel/speed-insights/next';

export default function App({ Component, pageProps }) {
return (
<>
<Component {...pageProps} />
<Analytics />
<SpeedInsights />
</>
)
}
8 changes: 8 additions & 0 deletions pnpm-lock.yaml

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

0 comments on commit 94c6d9c

Please sign in to comment.