Skip to content

Commit e48067c

Browse files
committed
chore: add vercel analytics
1 parent 53ebc29 commit e48067c

File tree

3 files changed

+15
-13
lines changed

3 files changed

+15
-13
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@
3131
"@rollup/plugin-replace": "^5.0.2",
3232
"@typescript-eslint/eslint-plugin": "^4.33.0",
3333
"@typescript-eslint/parser": "^4.33.0",
34+
"@vercel/analytics": "^1.0.1",
3435
"@vue/cli-plugin-babel": "^5.0.7",
3536
"@vue/cli-plugin-eslint": "^5.0.7",
3637
"@vue/cli-plugin-typescript": "^5.0.7",

pnpm-lock.yaml

Lines changed: 11 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/demo/main.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
1+
import { inject } from "@vercel/analytics";
12
import { createApp } from "vue";
23
import { createPinia } from "pinia";
34
import Demo from "./Demo.vue";
45

6+
inject();
7+
58
const pinia = createPinia();
69
const app = createApp(Demo);
710
app.use(pinia);

0 commit comments

Comments
 (0)