v-error-boundary
v0.0.8
Published
error boundary component for vue3
Downloads
3
Maintainers
Readme
v-error-boundary
Error Boundary Component for Vue3
Install
npm i v-error-boundary
yarn add v-error-boundary
Usage
<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 |