Skip to content

Commit

Permalink
chore: add vercel analytics
Browse files Browse the repository at this point in the history
Signed-off-by: ZTL-UwU <[email protected]>
  • Loading branch information
ZTL-UwU committed Nov 7, 2024
1 parent 4c86bae commit 18307b4
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Binary file modified bun.lockb
Binary file not shown.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@
"devDependencies": {
"@antfu/eslint-config": "^3.8.0",
"@nuxt/devtools": "^1.6.0",
"@vercel/analytics": "^1.3.2",
"@vueuse/core": "^11.2.0",
"@vueuse/nuxt": "^11.2.0",
"eslint": "^9.14.0",
Expand Down
5 changes: 5 additions & 0 deletions plugins/analytics.client.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
import { inject } from '@vercel/analytics';

export default defineNuxtPlugin(() => {
inject();
});

0 comments on commit 18307b4

Please sign in to comment.