+vercel speed insights

This commit is contained in:
skidoodle 2023-12-31 16:46:20 +01:00
parent 24c2049edc
commit 2e4d490120
3 changed files with 11 additions and 0 deletions

View file

@ -11,6 +11,7 @@
},
"dependencies": {
"@vercel/analytics": "^1.1.1",
"@vercel/speed-insights": "^1.0.2",
"axios": "^1.6.2",
"copy-to-clipboard": "^3.3.3",
"next": "14.0.4",

8
pnpm-lock.yaml generated
View file

@ -8,6 +8,9 @@ dependencies:
'@vercel/analytics':
specifier: ^1.1.1
version: 1.1.1
'@vercel/speed-insights':
specifier: ^1.0.2
version: 1.0.2
axios:
specifier: ^1.6.2
version: 1.6.2
@ -513,6 +516,11 @@ packages:
server-only: 0.0.1
dev: false
/@vercel/speed-insights@1.0.2:
resolution: {integrity: sha512-y5HWeB6RmlyVYxJAMrjiDEz8qAIy2cit0fhBq+MD78WaUwQvuBnQlX4+5MuwVTWi46bV3klaRMq83u9zUy1KOg==}
requiresBuild: true
dev: false
/acorn-jsx@5.3.2(acorn@8.11.2):
resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==}
peerDependencies:

View file

@ -1,4 +1,5 @@
import { Analytics } from '@vercel/analytics/react'
import { SpeedInsights } from '@vercel/speed-insights/next'
import { ThemeProvider } from 'next-themes'
import { Inter } from 'next/font/google'
import type { AppProps } from 'next/app'
@ -21,6 +22,7 @@ export default function App({ Component, pageProps }: AppProps) {
<Component {...pageProps} />
</ThemeProvider>
</main>
<SpeedInsights />
<Analytics />
</>
)