Skip to content

GourmetPro/vue-rollbar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vue-rollbar

npm (scoped with tag) npm Dependencies js-standard-style

Rollbar plugin for Vue.js

Installation

npm install vue-rollbar --save

Usage

var Vue = require('vue');
var Rollbar = require('vue-rollbar');

Vue.use(Rollbar, {
  accessToken: 'YOUR_ROLLBAR_FRONT_TOKEN',
  ...options
});

You can now use Rollbar anywhere in your Vue app.

Vue.rollbar.debug('Yohyo!');
// or in a vue component
this.$rollbar.debug('Yohyo!')

See Rollbar javascript documentation for options

Packages

No packages published

Languages

  • JavaScript 49.9%
  • Vue 44.3%
  • HTML 5.8%