Home

Issue: 1445

How should I use 'vue.config.errorHandler' with nuxtjs?

[issue link]

I want to use “Fundebug” in my project.
I use it without nuxtjs

import Fundebug from 'fundebug-javascript'
Fundebug.apikey = 'apikey'
Vue.config.errorHandler = function (err, vm) {
  let componentName = Vue.util.formatComponentName(vm)
  let propsData = vm.$options.propsData
  Fundebug.notifyError(err, {
    metaData: {
      componentName: componentName,
      propsData: propsData
    }
  })
}

Now,I want to use it with nuxtjs,what should i do?

This question is available on Nuxt.js community (#c1286)