Skip to content

Commit

Permalink
Merge pull request #15 from SevenOutman/website/vercel-analytics
Browse files Browse the repository at this point in the history
chore(website): add vercel analytics
  • Loading branch information
SevenOutman authored Apr 21, 2023
2 parents f5814ca + 5f7a8fa commit 7593c21
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
"test": "echo \"Error: no test specified\" && exit 1"
},
"dependencies": {
"@vercel/analytics": "^1.0.0",
"aplayer": "^1.10.1",
"aplayer-react": "1.0.5",
"next": "^13.1.1",
Expand Down
13 changes: 13 additions & 0 deletions docs/pages/_app.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import type { AppProps } from "next/app";
import { Analytics } from "@vercel/analytics/react";

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

export default MyApp;
10 changes: 10 additions & 0 deletions docs/pnpm-lock.yaml

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

1 comment on commit 7593c21

@vercel
Copy link

@vercel vercel bot commented on 7593c21 Apr 21, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.