Exposes a Vuex module to handle your Vue error states
- Vue >= 2.0
- Vuex
To install this plugin, run:
npm install vue-err
# or yarn add vue-err
Then include it in your Vue project:
import Vue from 'vue'
import VueErr from 'vue-err'
Vue.use(VueErr)
Be careful since this plugin is only based on Vuex
and requires it to work properly.
This plugin injects a $err
object in your Vue instance.
Project under the MIT license. Heavly inspired by VueWait
plugin by Fatih Kadir Akın
.
Open-source time proudly sponsored by Chronotruck.