© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
1 reply
pocket.racer

Code in resources/bootstrap.js not running

So i have the following code in my resources/bootstrap.js but my sentry user feedback widget didn't show up on Filament pages, but it shows up on non filament pages. If anyone know what i missed out on let me know


import * as Sentry from "@sentry/browser";

Sentry.init({
    dsn: import.meta.env.VITE_SENTRY_DSN_PUBLIC,
    integrations: [
        Sentry.feedbackIntegration({
            colorScheme: 'system',
            showBranding: false,
        }),
        Sentry.replayIntegration(),
    ],
    replaysSessionSampleRate: 0.1,
    replaysOnErrorSampleRate: 1.0,
    tracePropagationTargets: [
        'my-site.com',
    ],
});
import * as Sentry from "@sentry/browser";

Sentry.init({
    dsn: import.meta.env.VITE_SENTRY_DSN_PUBLIC,
    integrations: [
        Sentry.feedbackIntegration({
            colorScheme: 'system',
            showBranding: false,
        }),
        Sentry.replayIntegration(),
    ],
    replaysSessionSampleRate: 0.1,
    replaysOnErrorSampleRate: 1.0,
    tracePropagationTargets: [
        'my-site.com',
    ],
});
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

App.js import my bootstrap.js missing module
FilamentFFilament / ❓┊help
3y ago
Resources/js/app.js and css/app.css not working
FilamentFFilament / ❓┊help
3y ago
Running JS before save
FilamentFFilament / ❓┊help
2mo ago
Reuse code for afterCreate and afterSave in multiple Resources
FilamentFFilament / ❓┊help
2y ago