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/