Vue rollbar

Rollbar plugin for Vue.js

Version: 1.0.0 Updated: 03/01/2019

By: Zevran License: (MIT)

Downloads Last 30 Days: 16.7k

Install

npm i vue-rollbar
yarn add vue-rollbar

Repository: https://github.com/Zevran/vue-rollbar

CDNs

bundle.run: https://bundle.run/vue-rollbar

jsDelivr: https://cdn.jsdelivr.net/npm/vue-rollbar

unpkg: https://unpkg.com/vue-rollbar

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

Categories: Vue js