mirror of
https://github.com/danielvici/tool-website.git
synced 2026-01-16 19:41:26 +00:00
add: Vercel SpeedInsights
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
'use client'
|
||||
import Link from 'next/link'
|
||||
import { SpeedInsights } from '@vercel/speed-insights/react';
|
||||
|
||||
export default function Home() {
|
||||
const tools = [
|
||||
@@ -81,6 +82,8 @@ export default function Home() {
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<SpeedInsights />
|
||||
</main>
|
||||
|
||||
)
|
||||
}
|
||||
36
package-lock.json
generated
36
package-lock.json
generated
@@ -10,6 +10,7 @@
|
||||
"dependencies": {
|
||||
"@tailwindcss/postcss": "^4.1.7",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@vercel/speed-insights": "^1.2.0",
|
||||
"next": "^14.0.0",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^18.2.0",
|
||||
@@ -1060,6 +1061,41 @@
|
||||
"@types/react": "^18.0.0"
|
||||
}
|
||||
},
|
||||
"node_modules/@vercel/speed-insights": {
|
||||
"version": "1.2.0",
|
||||
"resolved": "https://registry.npmjs.org/@vercel/speed-insights/-/speed-insights-1.2.0.tgz",
|
||||
"integrity": "sha512-y9GVzrUJ2xmgtQlzFP2KhVRoCglwfRQgjyfY607aU0hh0Un6d0OUyrJkjuAlsV18qR4zfoFPs/BiIj9YDS6Wzw==",
|
||||
"hasInstallScript": true,
|
||||
"license": "Apache-2.0",
|
||||
"peerDependencies": {
|
||||
"@sveltejs/kit": "^1 || ^2",
|
||||
"next": ">= 13",
|
||||
"react": "^18 || ^19 || ^19.0.0-rc",
|
||||
"svelte": ">= 4",
|
||||
"vue": "^3",
|
||||
"vue-router": "^4"
|
||||
},
|
||||
"peerDependenciesMeta": {
|
||||
"@sveltejs/kit": {
|
||||
"optional": true
|
||||
},
|
||||
"next": {
|
||||
"optional": true
|
||||
},
|
||||
"react": {
|
||||
"optional": true
|
||||
},
|
||||
"svelte": {
|
||||
"optional": true
|
||||
},
|
||||
"vue": {
|
||||
"optional": true
|
||||
},
|
||||
"vue-router": {
|
||||
"optional": true
|
||||
}
|
||||
}
|
||||
},
|
||||
"node_modules/ansi-regex": {
|
||||
"version": "6.1.0",
|
||||
"resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz",
|
||||
|
||||
@@ -11,6 +11,7 @@
|
||||
"dependencies": {
|
||||
"@tailwindcss/postcss": "^4.1.7",
|
||||
"@types/qrcode": "^1.5.5",
|
||||
"@vercel/speed-insights": "^1.2.0",
|
||||
"next": "^14.0.0",
|
||||
"qrcode": "^1.5.4",
|
||||
"react": "^18.2.0",
|
||||
|
||||
Reference in New Issue
Block a user