0.0.8 • Published 2 years ago
v-error-boundary v0.0.8
v-error-boundary
Error Boundary Component for Vue3
Install
npm i v-error-boundary
yarn add v-error-boundaryUsage
<VErrorBoundary>
<YourComponent />
</VErrorBoundary>Props
| Property | Description | Type | Default |
|---|---|---|---|
| stopPropagation | wheter prevent the error from propagating | boolean | false |
| fallback | fallback component to render in case of error | slots |VNode | - |
Events
| Events Name | Description | Arguments |
|---|---|---|
| error | event will be triggered in case of error | (error, instance, info) => void |