Skip to content

Commit 60e6b1b

Browse files
authored
Merge pull request #9 from aimenng/vercel/set-up-vercel-speed-insights-f-ohturx
Set up Vercel Speed Insights for your project
2 parents 8e30394 + 200de3f commit 60e6b1b

4 files changed

Lines changed: 697 additions & 0 deletions

File tree

App.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import React, { useEffect, useState } from 'react';
22
import { Analytics } from '@vercel/analytics/react';
3+
import { SpeedInsights } from '@vercel/speed-insights/react';
34
import { Layout } from './components/Layout';
45
import { BottomNav } from './components/BottomNav';
56
import { LandingPage } from './pages/Landing';
@@ -111,6 +112,7 @@ const App: React.FC = () => {
111112
<ToastProvider>
112113
<AppContent />
113114
<Analytics />
115+
<SpeedInsights />
114116
</ToastProvider>
115117
</AuthProvider>
116118
</AppProvider>

package-lock.json

Lines changed: 35 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@capacitor/core": "^8.1.0",
2929
"@supabase/supabase-js": "^2.95.3",
3030
"@vercel/analytics": "^1.6.1",
31+
"@vercel/speed-insights": "^1.3.1",
3132
"bcryptjs": "^3.0.3",
3233
"compression": "^1.8.1",
3334
"concurrently": "^9.2.1",

0 commit comments

Comments
 (0)