Capture uncaught errors from Vue.js

I am struggling trying to get the js error logging working to capture uncaught errors from Vue.js.

I added a call in the mounted() to a method that deliberately causes a TypeError.

Frustratingly, I can see the errors being recorded in my Sentry project, ONLY if the app is running on the Webpack dev server
https://localhost:9000/

When I compile the app bundle and drop into our docker instance of the local website the very same error never makes it to Sentry.

Errors is caused by the app bundle outside of the Vue instance (e.g. right in main.js) do get recorded in Sentry from the docker container.

Anyone have any ideas, why the built application errors fail to get logged in sentry?