@tracekit/vue
v0.1.1
Published
TraceKit Vue Integration - Error capture and navigation breadcrumbs for Vue 3
Maintainers
Readme
@tracekit/vue
TraceKit Vue Integration -- Error capture and navigation breadcrumbs for Vue 3.
Installation
npm install @tracekit/vue @tracekit/browserQuick Start
import { createApp } from 'vue';
import { init } from '@tracekit/browser';
import { createTraceKitVuePlugin } from '@tracekit/vue';
init({ dsn: 'https://[email protected]/1' });
const app = createApp(App);
app.use(createTraceKitVuePlugin());
app.mount('#app');Configuration
| Option | Type | Default | Description |
|--------|------|---------|-------------|
| trackComponents | boolean | true | Track component names in error reports |
| hooks | string[] | ['mount', 'update'] | Vue lifecycle hooks to instrument |
Documentation
Full documentation: https://app.tracekit.dev/docs/frontend/frameworks
License
MIT
