vue-reactive-error-handler
TypeScript icon, indicating that this package has built-in type declarations

0.2.1 • Public • Published

vue-reactive-error-handler

npm version GitHub Actions

You can reactively handle errors raised by Vue.config.errorHandler.

Install

$ yarn add vue-reactive-error-handler

Usage

import { ReactiveErrorHandler } from "vue-reactive-error-handler";
 
Vue.use(ReactiveErrorHandler);
<template>
  <div>
    error: <span v-if="$error.value">{{ $error.value.message }}</span>
  </div>
</template>

Example

See example directory.

/vue-reactive-error-handler/

    Package Sidebar

    Install

    npm i vue-reactive-error-handler

    Weekly Downloads

    1

    Version

    0.2.1

    License

    MIT

    Unpacked Size

    473 kB

    Total Files

    28

    Last publish

    Collaborators

    • odanado