Skip to content

Commit

Permalink
feat: add support for vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
srini047 committed Jan 15, 2024
1 parent f862659 commit 116fdf9
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 0 deletions.
14 changes: 14 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 @@ -8,6 +8,7 @@
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"@vercel/analytics": "^1.1.1",
"@vercel/speed-insights": "^1.0.1",
"react": "^18.2.0",
"react-animated-cursor": "^2.5.2",
Expand Down
2 changes: 2 additions & 0 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { Route, Routes } from "react-router-dom";
import AnimatedCursor from "react-animated-cursor";
import { MendableFloatingButton } from "@mendable/search";
import { SpeedInsights } from '@vercel/speed-insights/react';
import { Analytics } from '@vercel/analytics/react';

// Routes
import Home from "./routes/Home";
Expand All @@ -26,6 +27,7 @@ function App() {
return (
<div>
<SpeedInsights />
<Analytics />
<AnimatedCursor
color="255, 0, 0"
innerSize={8}
Expand Down

0 comments on commit 116fdf9

Please sign in to comment.