v-error-boundary
TypeScript icon, indicating that this package has built-in type declarations

0.0.8 • Public • Published

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

Package Sidebar

Install

npm i v-error-boundary

Weekly Downloads

1

Version

0.0.8

License

MIT

Unpacked Size

4.79 kB

Total Files

5

Last publish

Collaborators

  • deft-v