Add @microsoft/clarity and ratelimit-header-parser dependencies; integrate Clarity for user tracking and implement rate limit handling in axios instance. Update App.vue to include RateLimitModal for user notifications.

This commit is contained in:
SunWuyuan
2025-05-11 11:43:47 +08:00
parent 596c6ac918
commit 9f4fe0b9dd
6 changed files with 226 additions and 26 deletions
+3
View File
@@ -13,7 +13,10 @@ import GlobalMessage from '@/components/GlobalMessage.vue'
// Composables
import { createApp } from 'vue'
import Clarity from '@microsoft/clarity';
const projectId = "rhp8uqoc3l"
Clarity.init(projectId);
import messageService from './utils/message';
const app = createApp(App)