We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19ef32c commit 486f94aCopy full SHA for 486f94a
packages/vue/src/errorhandler.ts
@@ -15,7 +15,7 @@ export const attachErrorHandler = (app: Vue, options: Options): void => {
15
trace,
16
};
17
18
- if (options.attachProps) {
+ if (vm && options.attachProps) {
19
// Vue2 - $options.propsData
20
// Vue3 - $props
21
metadata.propsData = vm.$options.propsData || vm.$props;
0 commit comments