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 6acd903 commit 677f639
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ pnpm-debug.log*
*.njsproj
*.sln
*.sw?

.vercel
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/speed-insights": "^1.0.12",
"@waline/client": "^3.3.0",
"axios": "^1.7.2",
"core-js": "^3.37.1",
Expand Down
40 changes: 40 additions & 0 deletions pnpm-lock.yaml

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

4 changes: 4 additions & 0 deletions src/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ app.use(PrimeVue, {
});
app.use(ToastService);

// 使用 Vercel Speed Insights 观测网站性能
import { injectSpeedInsights } from '@vercel/speed-insights';
injectSpeedInsights();

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

0 comments on commit 677f639

Please sign in to comment.