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 f2c9cc2 commit 3aa4320Copy full SHA for 3aa4320
src/Preview.vue
@@ -250,6 +250,11 @@ export default defineComponent({
250
return;
251
}
252
253
+ options.errorCaptured = (e: any) => {
254
+ this.handleError(e);
255
+ return false;
256
+ };
257
+
258
this.previewedComponent = markRaw(options);
259
this.iteration = this.iteration + 1;
260
this.error = false;
0 commit comments