Vue
Integration
To begin integrating your app with BugSplat, install the bugsplat package via npm:
Import or require BugSplat at the entry point of your application.
Add a database property to your package.json.
In index.js, create a new instance of BugSplat passing the constructor values for database, application, and version from your package.json.
Add event handlers to window.onunhandledrejection and window.onerror so that errors are posted to BugSplat.
You can also use BugSplat to capture errors in catch blocks.
Last updated
Was this helpful?