How to capture all the errors thrown in Vue.JS SPA How to capture all the errors thrown in Vue.JS SPA vue.js vue.js

How to capture all the errors thrown in Vue.JS SPA


You mentioned Sentry in your answer, and if your goal is getting errors logged there, all you need to add is Raven.js, and the Vue plugin.

Sentry has documentation on doing this here: https://docs.sentry.io/clients/javascript/integrations/vue/