0.1.1 • Published 6 years ago

vue-ajax-support v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

Vue AJAX Support

NPM Version Build Status Dependencies Dev Dependencies

A simple Vue.js plugin to handle AJAX requests.

Installation

To install vue-ajax-support via NPM, run:

npm install vue-ajax-support

The easiest way to use the Vue AJAX support plugin, is to import the mixin directly in your Vue component:

import { AjaxMixin } from 'vue-ajax-support'

export default {
    mixins: [
        AjaxMixin,
    ],

    //
}

If you'd rather have access to the Vue AJAX support mixin and component globally, then and the following to your JavaScript bootstrap file instead:

import Vue from 'vue'
import VueAjaxSupport from 'vue-ajax-support'

Vue.use(VueAjaxSupport)

Usage

Documentation coming soon.