Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

vue-rollbar

0.2.3 • Public • Published

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

install

npm i vue-rollbar

Downloadsweekly downloads

1,263

version

0.2.3

license

(MIT)

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability