0.0.4 • Published 6 years ago

vue-teller v0.0.4

Weekly downloads
5
License
-
Repository
-
Last release
6 years ago

VueTeller

vue-teller is error handling module.

DEMO Usage

Install

Donwload Manually

Download zip from Github

NPM

npm install vue-teller

SetUp

Browser globals

<link rel="stylesheet" href="/lib/vue-teller.min.css"/>

<script src="https://cdn.css.net/libs/vue/2.3.3/vue.js"></script>
<script src='/lib/vue-teller.min.js'></script>

ES6

import VueTeller from 'vue-teller'
Vue.use(VueTeller)

Usage

  SomePromiseTask()
  .then(res => {
    // do something
  })
  .catch(this.$teller)

Options

now writing...

Development

# watch
npm run dev
# build
npm run build

Examples

$ npm install
$ npm run dev # serve examples at localhost:8080