Flare by Spatie
    • Error Tracking
    • Performance Monitoring
    • Logs Coming soon
  • Pricing
  • Docs
  • Insights
  • Changelog
  • Back to Flare ⌘↵ Shortcut: Command or Control Enter
  • Sign in
  • Try Flare for free
  • Error Tracking
  • Performance Monitoring
  • Logs Coming soon
  • Pricing
  • Docs
  • Insights
  • Changelog
    • Back to Flare ⌘↵ Shortcut: Command or Control Enter
    • Try Flare for free
    • Sign in
Flare Flare Laravel Laravel PHP PHP JavaScript JavaScript React React Vue Vue Protocol Protocol
  • General
  • Installation
  • Vanilla JavaScript
  • React
  • Vue
  • Resolving bundled code
  • Errors
  • Reporting errors
  • Client hooks
  • Data Collection
  • Adding custom context
  • Adding glows

Installation

Flare supports a few common JavaScript setup paths. Choose the one that matches your app. If you ship bundled assets, also read about sourcemap uploads.

Choose your setup

Vanilla JavaScript

Use this path if you want to initialize the Flare client directly in app.js or index.js.

View the Vanilla JavaScript installation guide

React

Use this path if your app needs Flare's React error boundary integration.

View the React installation guide

Vue

Use this path if your app uses Vue 2 or Vue 3 and needs the Flare Vue plugin.

View the Vue installation guide

Adding glows Vanilla JavaScript
  • On this page
  • Choose your setup

Catch errors and fix slowdowns with Flare, the full-stack application monitoring platform for Laravel, PHP & JavaScript.

  • Platform
  • Error Tracking
  • Performance Monitoring
  • Pricing
  • Support
  • Resources
  • Insights
  • Newsletter
  • Changelog
  • Documentation
  • Affiliate program
  • uptime status badge Service status
  • Terms of use
  • DPA
  • Privacy & cookie Policy
Made in by
Flare