Skip to content

Commit

Permalink
Merge pull request #65 from MARU-EGG/TSK-999-HotFix
Browse files Browse the repository at this point in the history
chore: add vercel speed insights monitoring tools
  • Loading branch information
swgvenghy authored Dec 3, 2024
2 parents f4eb5e4 + d5159f6 commit dbedc45
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
35 changes: 35 additions & 0 deletions package-lock.json

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

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"@vercel/analytics": "^1.3.1",
"@vercel/speed-insights": "^1.1.0",
"antd": "^5.19.0",
"axios": "^1.7.2",
"chromatic": "^11.5.4",
Expand Down
2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import React from 'react';
import { BrowserRouter } from 'react-router-dom';
import { SpeedInsights } from '@vercel/speed-insights/react';
import AppRoutes from './routes/app-routes';

const App: React.FC = () => {
return (
<BrowserRouter>
<SpeedInsights />
<AppRoutes />
</BrowserRouter>
);
Expand Down

0 comments on commit dbedc45

Please sign in to comment.