// @ts-nocheck import EdnaCapture from 'edna-capture/vue'; // Initialize error tracking EdnaCapture.init({ projectId: 'YOUR_PROJECT_ID', // Replace with your project ID enable: import.meta.env.MODE === 'production', trackWarning: false }); // Example: Track custom event export function trackCustomEvent(eventName: string, data?: any) { EdnaCapture.trackCustomEvent(eventName, data); }