A simple Vue.js plugin to handle AJAX requests.
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)
Documentation coming soon.