Closed fantasticsoul closed 11 months ago
all
https://codesandbox.io/p/sandbox/demo-load-remote-vue3-comp-lazy-forked-93nsyn
visit the demo
I can get err ref or err message string in the ErrComponent
currently I can not get err ref or err message string in the ErrComponent by reading defineAsyncComponent doc
Browsers
No response
errorComponent receives an error prop. You should modify the code accordingly:
errorComponent
error
export default { name: "ErrorComponent", props: { error: Error, }, };
playground
it works, thx a lot
Vue version
all
Link to minimal reproduction
https://codesandbox.io/p/sandbox/demo-load-remote-vue3-comp-lazy-forked-93nsyn
Steps to reproduce
visit the demo
What is expected?
I can get err ref or err message string in the ErrComponent
What is actually happening?
currently I can not get err ref or err message string in the ErrComponent by reading defineAsyncComponent doc
System Info
Any additional comments?
No response