Skip to content

Commit

Permalink
analyticsとspeedinsights追加
Browse files Browse the repository at this point in the history
  • Loading branch information
na-trium-144 committed Nov 16, 2024
1 parent 6b707d9 commit 3dab083
Show file tree
Hide file tree
Showing 3 changed files with 81 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import type { Metadata } from "next";
import { Analytics } from "@vercel/analytics/react";
import { SpeedInsights } from "@vercel/speed-insights/next";
import "./globals.css";

const description =
Expand Down Expand Up @@ -56,6 +58,8 @@ export default function RootLayout({
<html lang="en">
<body className="min-w-screen min-h-screen overflow-auto ">
{children}
<Analytics />
<SpeedInsights />
</body>
</html>
);
Expand Down
75 changes: 75 additions & 0 deletions package-lock.json

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

2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@
},
"dependencies": {
"@icon-park/react": "^1.4.2",
"@vercel/analytics": "^1.4.0",
"@vercel/speed-insights": "^1.1.0",
"@ygoe/msgpack": "^1.0.3",
"ace-builds": "^1.36.4",
"dotenv": "^16.4.5",
Expand Down

0 comments on commit 3dab083

Please sign in to comment.