var rollbar = require("rollbar");

module.exports = {
  install: function(Vue, options) {
    Vue.rollbar = rollbar.init(options);
  }
};

var Rollbar = require("rollbar");

module.exports = {
  install: function(Vue, options) {
    Vue.rollbar = new Rollbar(options);
  }
};

Use new Rollbar initialization method