Skip to content

Commit

Permalink
added vercel analytics
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutlope committed Jan 16, 2023
1 parent 0765328 commit a648d19
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 0 deletions.
15 changes: 15 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 @@ -10,6 +10,7 @@
"@headlessui/tailwindcss": "^0.1.2",
"@heroicons/react": "^2.0.13",
"@tailwindcss/forms": "^0.5.3",
"@vercel/analytics": "^0.1.8",
"framer-motion": "^8.4.3",
"next": "latest",
"react": "18.2.0",
Expand Down
2 changes: 2 additions & 0 deletions pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { Analytics } from "@vercel/analytics/react";
import type { AppProps } from "next/app";
import "../styles/globals.css";

function MyApp({ Component, pageProps }: AppProps) {
return (
<>
<Component {...pageProps} />
<Analytics />
</>
);
}
Expand Down

0 comments on commit a648d19

Please sign in to comment.