Skip to content

Latest commit

 

History

History
 
 

plugin-vue

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@bugsnag/plugin-vue

NPM

A bugsnag-js plugin for Vue.js.

This package enables you to integrate Bugsnag's error reporting with a Vue.js application at a detailed level. It creates and configures a Vue ErrorHandler which will capture and report unhandled errors in your app.

Reported errors will contain useful debugging info from Vue's internals, such as the component name, props and any other context that Vue can provide.

Installation

npm i --save bugsnag-js @bugsnag/plugin-vue
# or
yarn add bugsnag-js @bugsnag/plugin-vue

Usage

const Vue = require('vue')
const bugsnag = require('@bugsnag/js')
const bugsnagVue = require('@bugsnag/plugin-vue')

const bugsnagClient = bugsnag('API_KEY')
bugsnagClient.use(bugsnagVue, Vue)

Support

License

The Bugsnag JS library and official plugins are free software released under the MIT License. See LICENSE.txt for details.