I’m in the process of adding Sentry to a Laravel app that uses Laravel Jetstream with Inertia.js and Vue 3, and the Sentry Vue 3 documentation wasn’t working for me because the app setup was wrapped inside a createInertiaApp
function.
The key is to add Sentry in the setup
method of that function:
should add to your gitignore:
# Sentry Config File
.env.sentry-build-plugin