Skip to content

Commit

Permalink
Feature: vercel analytics setting (#79)
Browse files Browse the repository at this point in the history
* chore: install vercel/analytics

* feat: analytics setting
  • Loading branch information
hyjoong authored Jan 6, 2025
1 parent c985009 commit 8baec3b
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"@radix-ui/react-switch": "^1.1.1",
"@radix-ui/react-toast": "^1.2.2",
"@types/react-router-dom": "^5.3.3",
"@vercel/analytics": "^1.4.1",
"axios": "^1.7.9",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
Expand Down
33 changes: 33 additions & 0 deletions pnpm-lock.yaml

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

2 changes: 2 additions & 0 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import Routing from "@/routes";
import { Analytics } from "@vercel/analytics/react";

import SnowfallBackground from "@/components/common/SnowfallBackground";

Expand All @@ -7,6 +8,7 @@ function App() {
<>
<SnowfallBackground />
<Routing />
<Analytics />
</>
);
}
Expand Down

0 comments on commit 8baec3b

Please sign in to comment.