Using onErrorCaptured
can implement error boundary like React.
Library:
- dillonchanis/vue-error-boundary: A reusable error boundary component for catching JavaScript errors and displaying fallback UIs.
- liaoliao666/vu-error-boundary: 🌈 Simple reusable Vue3 error boundary component
See: