Skip to main content
Vue
Call init() before mounting your app in main.ts:
Always set environment. Only "production" and "development" are accepted. If omitted, events default to development.
Tracelit detects route changes automatically via history.pushState — Vue Router works out of the box with no extra config.

Adding user identity

Call identify() after your auth state resolves — for example, inside a composable or watcher:
Then call it in your root App.vue:

LLM Prompt

Paste this into your coding assistant to install Tracelit for you:

What’s next?