Skip to content

Commit

Permalink
1
Browse files Browse the repository at this point in the history
  • Loading branch information
SunWuyuan committed Aug 31, 2024
1 parent bfb744e commit b9e3da4
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"@highlightjs/vue-plugin": "^2.1.0",
"@mdi/font": "7.4.47",
"@primevue/themes": "^4.0.0",
"@vercel/analytics": "^1.3.1",
"@vercel/speed-insights": "^1.0.12",
"@waline/client": "^3.3.0",
"axios": "^1.7.2",
Expand Down
23 changes: 23 additions & 0 deletions pnpm-lock.yaml

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

3 changes: 3 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ app.use(ToastService);
// 使用 Vercel Speed Insights 观测网站性能
import { injectSpeedInsights } from '@vercel/speed-insights';
injectSpeedInsights();
// 使用 Vercel Analytics 收集数据
import { inject } from '@vercel/analytics';
inject();

registerPlugins(app);
app.mount("#app");

0 comments on commit b9e3da4

Please sign in to comment.